[PATCH] pinctrl: nuvoton: ma35d1: Fix an IS_ERR() vs NULL check

Linus Walleij linus.walleij at linaro.org
Mon Jun 17 02:02:14 PDT 2024


On Wed, Jun 12, 2024 at 12:43 PM Dan Carpenter <dan.carpenter at linaro.org> wrote:

> The fwnode_iomap() function doesn't return error pointers, it returns
> NULL.  It's the same as of_iomap() in that way.  Update the check
> accordingly.
>
> Fixes: ecc5bf868673 ("pinctrl: nuvoton: Add ma35d1 pinctrl and GPIO driver")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Patch applied, thanks Dan!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list