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:
5024a2b
)
drm: sti: Fix return value check in sti_drm_platform_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 26 Aug 2014 10:24:24 +0000
(12:24 +0200)
committer
Benjamin Gaignard
<benjamin.gaignard@linaro.org>
Tue, 26 Aug 2014 12:16:51 +0000
(14:16 +0200)
In case of error, the function platform_device_register_resndata()
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>
No differences found