From: kr494167@gmail.com
To: lee@kernel.org, pavel@kernel.org
Cc: kauschluss@disroot.org, linux-leds@vger.kernel.org,
linux-kernel@vger.kernel.org, Surendra <kr494167@gmail.com>
Subject: [PATCH v2 0/2] leds: s2m: Wire up of_match_table in platform drivers
Date: Wed, 22 Jul 2026 21:45:17 +0530 [thread overview]
Message-ID: <20260722161519.9610-1-kr494167@gmail.com> (raw)
From: Surendra <kr494167@gmail.com>
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(-)
--
2.55.0
next reply other threads:[~2026-07-22 16:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 16:15 kr494167 [this message]
2026-07-22 16:15 ` [PATCH v2 1/2] leds: rgb: s2m: Wire up of_match_table in platform driver kr494167
2026-07-22 16:29 ` sashiko-bot
2026-07-22 18:07 ` Kaustabh Chakraborty
2026-07-22 16:15 ` [PATCH v2 2/2] leds: flash: " kr494167
2026-07-22 16:29 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260722161519.9610-1-kr494167@gmail.com \
--to=kr494167@gmail.com \
--cc=kauschluss@disroot.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.