commit | 67eed44b8a8ae7ca1a1a77c64d2c4815f00e361b | [log] [tgz] |
---|---|---|
author | Amit Kucheria <amit.kucheria@linaro.org> | Fri Jul 12 02:01:58 2019 +0530 |
committer | Zhang Rui <rui.zhang@intel.com> | Tue Sep 24 09:56:08 2019 +0800 |
tree | 64a5983f4c969f3ea40f8da8296d5ffa482c8625 | |
parent | 1851799e1d2978f68eea5d9dff322e121dcf59c1 [diff] |
thermal: Add some error messages When registering a thermal zone device, we currently return -EINVAL in four cases. This makes it a little hard to debug the real cause of the failure. Print some error messages to make it easier for developer to figure out what happened. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>