Re: (subset) [PATCH] leds: lp5860-spi: Fix an error handling path

From: Lee Jones

Date: Thu Jul 02 2026 - 11:09:31 EST


On Sat, 20 Jun 2026 17:53:22 +0200, Christophe JAILLET wrote:
> If lp5860_device_init() fails, a missing mutex_destroy() should be called.
>
> Use devm_mutex_init() instead of mutex_init() to fix it.
> This also simplifies the remove function.

Applied, thanks!

[1/1] leds: lp5860-spi: Fix an error handling path
commit: f647a2266289a35eaa4865f629f2ab7046900d9b

--
Lee Jones [李琼斯]