Re: [PATCH] leds: various: add missing put_device() call in netxbig_leds_get_of_pdata()

From: Marek Behun
Date: Thu Oct 29 2020 - 14:26:07 EST


On Thu, 29 Oct 2020 18:49:52 +0100
Pavel Machek <pavel@xxxxxx> wrote:

>
> Thanks, applied.
>
> But it seems to me similar handling is needed in "success" paths, no?
>
> Best regards,
> Pavel

Pavel, the subject of this commit is wrong.
It should begin with
leds: netxbig:
instead of
leds: various:
since the patch does not touch various drivers, only one: netxbig.

Marek