Re: (subset) [PATCH] leds: flash: tps6131x: put the LED child node reference
From: Lee Jones
Date: Wed Dec 02 2026 - 09:05:25 EST
On Tue, 24 Nov 2026 17:11:02 +0700, Cong Nguyen wrote:
> tps6131x_parse_node() gets the LED child node with
> device_get_next_child_node(), which takes a reference. The driver never
> drops it, so the reference is leaked on every probe error and after
> remove().
>
> Drop it with a device managed action registered right after the node is
> taken, as leds-tps6105x does.
>
> [...]
Applied, thanks!
[1/1] leds: flash: tps6131x: put the LED child node reference
https://git.kernel.org/lee/leds/c/6881bcee6db3
--
Lee Jones [李琼斯]