Re: leds: rt4505: Put the child node reference

From: Markus Elfring

Date: Thu Nov 26 2026 - 08:57:33 EST


>> …
>>> Drop the reference with a device managed action registered right after the
>>> node is taken, so it is released after the LED class device that was
>>> registered later has been unregistered. leds-rt8515 puts the node of the
>>
>> Would the identifier “rt4505” matter more here?
> Hi Markus,
>
> Do you mean that sentence should name rt4505?

It depends …


> It refers to leds-rt8515
> as a sibling driver that already puts the node. …

I would prefer a clearer wording for a link to a related source code example
like rt8515_probe().
https://elixir.bootlin.com/linux/v7.4-rc1/source/drivers/leds/flash/leds-rt8515.c#L275-L367


>>> same kind after registering its LED and flash sub-device.

Regards,
Markus