Skip to content

modernize and fix mc13xxx-led driver

Alexander Kurz linux-leds lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- 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/[email protected]/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2leds: mc13783: Use unified device property APIdrivers/leds/leds-mc13783.c+11 -190 replies
2/2leds: leds-mc13783: enable driver for deferred probedrivers/leds/leds-mc13783.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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.

---
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/[email protected]/

Changes in v2:
- removed unintended change of property "led-control" (Sashiko)
- Link to v1: https://lore.kernel.org/all/[email protected]/

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(-)
Signature · 1 line
2.39.5