[PATCH v2 0/2] leds: lm3533: cleanups and support getting LED sources from DT
From: Svyatoslav Ryhel
Date: Fri Dec 04 2026 - 01:17:01 EST
Refactor probe and switch do managed helpers, add support for configuring
LED sources from DT.
This patchset was derived from
https://lore.kernel.org/lkml/20261112081941.41363-1-clamor95@xxxxxxxxx/
---
Changes in v2:
- lm3533_ctrlbank_enable() placed before devm_led_classdev_register() and
added devm_add_action_or_reset() to auto disable
- dropped remove() callback from platform_driver
- "led-sources" configuration consolidated in lm3533_led_setup()
---
Svyatoslav Ryhel (2):
leds: lm3533: Clean up probe and use managed helpers
leds: lm3533: Support getting LED sources from DT
drivers/leds/leds-lm3533.c | 120 ++++++++++++++++++++++++++-----------
1 file changed, 84 insertions(+), 36 deletions(-)
--
2.53.0