Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Acked-by: Jesper Nilsson <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information