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:
87b8bed
)
tty: serial: vt8500: fix return value check in vt8500_serial_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Sun, 2 Dec 2012 10:10:44 +0000
(
05:10
-0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 03:06:42 +0000
(19:06 -0800)
In case of error, function of_clk_get() 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>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found