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:
a4b5a5e
)
sh-pfc: Fix return value check in sh_pfc_register_pinctrl()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Mon, 11 Mar 2013 14:08:12 +0000
(22:08 +0800)
committer
Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:52 +0000
(13:33 +0100)
In case of error, the function pinctrl_register() returns NULL not
ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
No differences found