From: sashiko-bot@kernel.org
To: kr494167@gmail.com
Cc: linux-hwmon@vger.kernel.org
Subject: Re: [PATCH] hwmon: ltc4283: add missing MODULE_DEVICE_TABLE for OF match table
Date: Tue, 21 Jul 2026 05:57:30 +0000 [thread overview]
Message-ID: <20260721055731.4578B1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260721055022.34629-1-kr494167@gmail.com>
> From: surendra <kr494167@gmail.com>
>
> The driver registers ltc4283_of_match as the platform driver's
> .of_match_table so the kernel probes the device when a DT node with
> compatible "adi,ltc4283" is present, but the corresponding
> MODULE_DEVICE_TABLE(of, ...) call is absent.
>
> Without it the module alias table (modules.alias) does not contain an
> "of:N*T*Cadi,ltc4283" entry, so udev / kmod cannot auto-load the
> module when the DT node appears, breaking modules-based deployments
> while built-in configurations happen to work by accident.
>
> Add the missing MODULE_DEVICE_TABLE() to fix module auto-loading.
>
> Fixes: dd63353a0b5e ("hwmon: ltc4283: Add support for the LTC4283 Swap Controller")
> Signed-off-by: surendra <kr494167@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260721055022.34629-1-kr494167@gmail.com?part=1
prev parent reply other threads:[~2026-07-21 5:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 5:50 [PATCH] hwmon: ltc4283: add missing MODULE_DEVICE_TABLE for OF match table kr494167
2026-07-21 5:57 ` sashiko-bot [this message]
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=20260721055731.4578B1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=kr494167@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox