summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/pinctrl
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-04-25 11:29:30 +0000
committerLinus Walleij <linus.walleij@linaro.org>2017-04-28 09:40:52 +0200
commitc312c2c333b88145b3073cf5acd8362af3f0cc6e (patch)
treeffda4a5cc7f3ab763eecef87531f95922963cf6d /include/dt-bindings/pinctrl
parenta5bf5fc060b0095ebd6f1886da8ec482697176fa (diff)
downloadop-kernel-dev-c312c2c333b88145b3073cf5acd8362af3f0cc6e.zip
op-kernel-dev-c312c2c333b88145b3073cf5acd8362af3f0cc6e.tar.gz
pinctrl: artpec6: Fix return value check in artpec6_pmx_probe()
In case of error, the function pinctrl_register() returns ERR_PTR() not NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/dt-bindings/pinctrl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud