summaryrefslogtreecommitdiff
path: root/drivers/soc/imx
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-05-25 12:16:34 +0300
committerArnd Bergmann <arnd@arndb.de>2020-05-26 01:02:42 +0300
commit97a2f40e3801905c7221df8ce2f2231632ce8ce4 (patch)
treecc4364cb07cad7432a14d84f6c90558736f0ea36 /drivers/soc/imx
parent9d281a4f6fd61341da2fd08bf0b9449ed72b40e3 (diff)
downloadlinux-97a2f40e3801905c7221df8ce2f2231632ce8ce4.tar.xz
bus: arm-integrator-lm: Fix return value check in integrator_ap_lm_probe()
In case of error, the function of_find_matching_node() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Link: https://lore.kernel.org/r/20200525091634.8274-1-linus.walleij@linaro.org Fixes: ccea5e8a5918 ("bus: Add driver for Integrator/AP logic modules") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20200520032150.165388-1-weiyongjun1@huawei.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/imx')
0 files changed, 0 insertions, 0 deletions