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:
732e4c8
)
thermal: cpu_cooling: fix return value check in cpufreq_cooling_register()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Fri, 25 Oct 2013 13:55:42 +0000
(21:55 +0800)
committer
Zhang Rui
<rui.zhang@intel.com>
Wed, 6 Nov 2013 05:16:49 +0000
(13:16 +0800)
In case of error, the function thermal_cooling_device_register() returns
ERR_PTR() and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
No differences found