Re: [PATCH v2] leds: lp50xx: add missing fwnode_handle_put in error handling case

From: Pavel Machek
Date: Wed Nov 25 2020 - 14:48:31 EST


Hi!

> Fix to set ret and goto child_out for fwnode_handle_put(child)
> in the error handling case rather than simply return, as done
> elsewhere in this function.
>
> Fixes: 242b81170fb8 ("leds: lp50xx: Add the LP50XX family of the RGB LED driver")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Suggested-by: Pavel Machek <pavel@xxxxxx>
> Signed-off-by: Qinglang Miao <miaoqinglang@xxxxxxxxxx>

Thanks, applied.

Best regards,
Pavel

--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: Digital signature