Re: [PATCH v2 12/13] leds: rt8515: Put fwnode in any case during ->probe()

From: andy
Date: Sat Jun 05 2021 - 06:02:19 EST


Tue, Jun 01, 2021 at 12:06:05PM +0200, Linus Walleij kirjoitti:
> On Sat, May 29, 2021 at 1:19 PM Andy Shevchenko
> <andy.shevchenko@xxxxxxxxx> wrote:
>
> > fwnode_get_next_available_child_node() bumps a reference counting of
> > a returned variable. We have to balance it whenever we return to
> > the caller.
> >
> > Fixes: e1c6edcbea13 ("leds: rt8515: Add Richtek RT8515 LED driver")
> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> > Signed-off-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks!

Pavel, can you, please, review this batch? I think I addressed most of your
comments if not all.

--
With Best Regards,
Andy Shevchenko