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

From: Linus Walleij
Date: Mon Jun 17 2024 - 05:02:37 EST


On Wed, Jun 12, 2024 at 12:43 PM Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx>

Patch applied, thanks Dan!

Yours,
Linus Walleij