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:
9719afa
)
[media] davinci: vpfe: fix return value check in vpfe_enable_clock()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Mon, 11 Mar 2013 12:57:22 +0000
(09:57 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 23 Mar 2013 14:28:21 +0000
(11:28 -0300)
In case of error, the function 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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
No differences found