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:
46a51c8
)
staging: drm/imx: fix return value check in ipu_add_subdevice_pdata()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 03:15:51 +0000
(11:15 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 30 Oct 2013 17:17:33 +0000
(10:17 -0700)
In case of error, the function platform_device_register_data() 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found