git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb84d99
)
thermal: exynos_thermal: return a proper error code while thermal_zone_device_registe...
author
Devendra Naga
<devendra.aaru@gmail.com>
Mon, 4 Mar 2013 16:52:48 +0000
(16:52 +0000)
committer
Zhang Rui
<rui.zhang@intel.com>
Mon, 11 Mar 2013 15:09:29 +0000
(23:09 +0800)
we are returning EINVAL while the thermal_zone_device_register function fail.
instead we can use the return value from the thermal_zone_device_register by
using PTR_ERR.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
No differences found