Skip to content

leds: s2m: Wire up of_match_table in platform drivers

[email protected] linux-leds lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Capitalize subject line descriptions after subsystem prefix per LED guidelines.
- Validate dev->parent in probe() to prevent NULL pointer dereferences if probed without parent MFD driver data.
- Update author name to full name.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2leds: rgb: s2m: Wire up of_match_table in platform driverdrivers/leds/rgb/leds-s2m-rgb.c+9 -11 reply
2/2leds: flash: s2m: Wire up of_match_table in platform driverdrivers/leds/flash/leds-s2m-flash.c+9 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] leds: s2m: Wire up of_match_table in platform drivers

From: Surendra <[email protected]>

This patch series fixes missing .of_match_table assignments in the Samsung S2M PMIC RGB and Flash LED platform drivers.

Both drivers define and export of_match_table via MODULE_DEVICE_TABLE(of, ...) but never assign it to .of_match_table in the platform_driver struct.

Changes in v2:
- Capitalize subject line descriptions after subsystem prefix per LED guidelines.
- Validate dev->parent in probe() to prevent NULL pointer dereferences if probed without parent MFD driver data.
- Update author name to full name.

Surendra (2):
leds: rgb: s2m: Wire up of_match_table in platform driver
leds: flash: s2m: Wire up of_match_table in platform driver

 drivers/leds/flash/leds-s2m-flash.c | 10 +++++++++-
 drivers/leds/rgb/leds-s2m-rgb.c     | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)
Signature · 1 line
2.55.0