summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-09-18 17:13:31 -0700
committerLee Jones <lee@kernel.org>2026-09-23 16:51:58 +0100
commitcfa0b7d98f3f5b731470ea9b6a6d4825aea1687e (patch)
tree8a3791672aa766b55c2c0f1daa797a9268609ba4 /tools/lib/python/kdoc/python_version.py
parent52931e38d7eeb28bacc5e7fef2afddd08baa0ecb (diff)
leds: rgb: qcom-lpg: Use fwnode APIs for LED parsing
Convert LED and channel parsing in lpg_add_led() and lpg_parse_channel() from DT-specific helpers to the fwnode API. The probe loop now uses device_for_each_child_node_scoped(), dropping explicit node lifetime handling. Behaviour is unchanged for device tree: fwnode_get_child_node_count() and both child iteration helpers skip unavailable children on OF, and the fwnode handle is passed straight to LED registration. cdev->default_trigger is only assigned when fwnode_property_read_string() succeeds, so an absent linux,default-trigger property no longer yields an uninitialized pointer. Assisted-by: LLM Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260919001331.720072-1-rosenp@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions