On Thu, Mar 9, 2023 at 7:56 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > The gpiod_find_by_fwnode() already checks for NULL and returns > correct error code in case fwnode is invalid. Drop the respective > check and assignment in the gpiod_find_and_request(). > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij