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

Lee Jones <[email protected]>
Newsgroups org.kernel.vger.linux-leds,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel
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 [李琼斯]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.