commit | f7973d8ba01648bb878fa30dffe3a18c41081c44 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Jul 06 12:03:32 2016 +0000 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Jul 11 09:51:34 2016 +0200 |
tree | d9b434cbd54e166bd2d95179cc248d2788933531 | |
parent | aeb8753b6810df55559bcb8bdf88d88221f1521a [diff] |
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>