diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-03-11 22:08:12 +0800 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-03-15 13:33:52 +0100 |
commit | fd9d05b0fdb0a8a2bbe2451b9e520547813d0562 (patch) | |
tree | 08dcacb426c4f23e275fa2889cf445cfda2156f3 /include/math-emu | |
parent | a4b5a5e134c81660bd04914daec470fb72ee332b (diff) |
sh-pfc: Fix return value check in sh_pfc_register_pinctrl()
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>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions