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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux