commit | e270df39f728fd47771613f1147b26a600d183e8 | [log] [tgz] |
---|---|---|
author | Samuel Zou <zou_wei@huawei.com> | Mon May 11 15:50:42 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 15 16:20:02 2020 +0200 |
tree | d632d26e01f8d80407be59230f1a61937663b837 | |
parent | b96fc5416b099a0c2509ca07a80b140d34db2b9b [diff] |
nvmem: jz4780-efuse: Use PTR_ERR_OR_ZERO() to simplify code Fixes coccicheck warning: drivers/nvmem/jz4780-efuse.c:214:1-3: WARNING: PTR_ERR_OR_ZERO can be used Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Samuel Zou <zou_wei@huawei.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200511145042.31223-4-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>