summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-09-07 13:19:40 -0700
committerLee Jones <lee@kernel.org>2026-09-17 15:09:40 +0100
commit57d0756f1cd0332b003aa2cbac16b9d7753acd59 (patch)
treec17d49189bb955924f1e430a5cc1630aea992529 /tools/lib/python
parentceb3263b276ea6d9859e31ab6e556a9dc1649843 (diff)
leds: is31fl32xx: Use fwnode/device property APIs
Convert the DT-specific helpers in is31fl32xx_parse_dt() and is31fl32xx_parse_child_dt() to their fwnode/device equivalents. Behaviour is unchanged for device tree: device_property_read_bool(), device_for_each_child_node_scoped() and device_get_child_node_count() operate on the same nodes and keep the skip of unavailable children. Use the %pfwP format specifier in error messages, as child is now a struct fwnode_handle and %pOF would misread it as a device_node. Assisted-by: opencode:deepseek-v4-flash-free Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260907201940.40524-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