Re: (subset) [PATCH] leds: syscon: Use device property API
From: Lee Jones
Date: Thu Sep 17 2026 - 10:21:02 EST
On Mon, 07 Sep 2026 13:24:36 -0700, Rosen Penev wrote:
> Replace the DT-specific of_property_read_u32() calls and the
> dev_of_node()/of_fwnode_handle() roundtrip with their
> device/fwnode equivalents. Behaviour is unchanged for device
> tree: device_property_read_u32() and dev_fwnode() operate on the
> same node, and the fallback from "reg" to "offset" is preserved.
>
> Use dev_fwnode() for init_data.fwnode; unlike a child node from
> a scoped iterator, the platform device's own node is held by the
> driver core for the device lifetime.
>
> [...]
Applied, thanks!
[1/1] leds: syscon: Use device property API
commit: ceb3263b276ea6d9859e31ab6e556a9dc1649843
--
Lee Jones [李琼斯]