[PATCH v3 0/2] modernize and fix mc13xxx-led driver

Alexander Kurz posted 2 patches 1 day, 18 hours ago
drivers/leds/leds-mc13783.c | 37 +++++++++++++++----------------------
1 file changed, 15 insertions(+), 22 deletions(-)
[PATCH v3 0/2] modernize and fix mc13xxx-led driver
Posted by Alexander Kurz 1 day, 18 hours ago
Main goal of this series is a fix enabling deferred probing of the
mc13xxx-led driver. The previous implementation has been dependent
on the MFD instance being present first and which has been changed
by commit 78efa53e715e ("leds: Init leds class earlier"), breaking
functionality. While working on it, replace the OF-specific API
with the newerunified device property API.

Signed-off-by: Alexander Kurz <akurz@blala.de>

---
Changes in v3:
- use dev_fwnode() to check parent availability, replacing dev_of_node().
  (Sashiko)
- drop CONFIG_OF guard around mc13xxx_led_probe_dt() as all used. (Sashiko)
  implementations should be safe for compilation with CONFIG_OF=n now.
- Link to v2: https://lore.kernel.org/all/20261122073235.26707-1-akurz@blala.de/

Changes in v2:
- removed unintended change of property "led-control" (Sashiko)
- Link to v1: https://lore.kernel.org/all/20261121074239.8745-1-akurz@blala.de/

Alexander Kurz (2):
  leds: mc13783: Use unified device property API
  leds: leds-mc13783: enable driver for deferred probe

 drivers/leds/leds-mc13783.c | 37 +++++++++++++++----------------------
 1 file changed, 15 insertions(+), 22 deletions(-)

-- 
2.39.5