summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-09-07 13:24:36 -0700
committerLee Jones <lee@kernel.org>2026-09-17 15:01:42 +0100
commitceb3263b276ea6d9859e31ab6e556a9dc1649843 (patch)
tree408b383e95c81206d6668c678d487b47fce42a09 /tools/lib/python
parent8b35269884491eb07669219468ad425bf9b9f455 (diff)
leds: syscon: Use device property API
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. Assisted-by: opencode:deepseek-v4-flash-free Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260907202436.42304-1-rosenp@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions