diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-06 14:03:32 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-07-11 09:51:34 +0200 |
commit | f7973d8ba01648bb878fa30dffe3a18c41081c44 (patch) | |
tree | d9b434cbd54e166bd2d95179cc248d2788933531 /drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | |
parent | pinctrl: ns2: fix return value check in ns2_pinmux_probe() (diff) | |
download | linux-f7973d8ba01648bb878fa30dffe3a18c41081c44.tar.xz linux-f7973d8ba01648bb878fa30dffe3a18c41081c44.zip |
sh-pfc: Use PTR_ERR_OR_ZERO() to simplify the code
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c')
0 files changed, 0 insertions, 0 deletions