Skip to content
Commit 67eed44b authored by Amit Kucheria's avatar Amit Kucheria Committed by Zhang Rui
Browse files

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: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 1851799e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment