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

Lee Jones <[email protected]> Thu, 02 Jul 2026 15:53:32 +0100
Newsgroups org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-leds
Message-ID <178300401230.2188240.2398403152134635212.b4-ty@b4>
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 [李琼斯]