diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-06 12:03:32 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-07-11 09:51:34 +0200 |
commit | f7973d8ba01648bb878fa30dffe3a18c41081c44 (patch) | |
tree | d9b434cbd54e166bd2d95179cc248d2788933531 /fs/debugfs | |
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>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions