From: Guenter Roeck <linux@roeck-us.net>
To: Josua Mayer <josua@solid-run.com>
Cc: Jean Delvare <jdelvare@suse.com>,
Yazan Shhady <yazan.shhady@solid-run.com>,
Jon Nettleton <jon@solid-run.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, Rabeeh Khoury <rabeeh@solid-run.com>
Subject: Re: [PATCH] hwmon: (amc6821) add of_match table
Date: Thu, 7 Mar 2024 09:19:41 -0800 [thread overview]
Message-ID: <534a40d5-df07-466c-a27d-030c5bf93070@roeck-us.net> (raw)
In-Reply-To: <20240307-amc6821-of-match-v1-1-5f40464a3110@solid-run.com>
On Thu, Mar 07, 2024 at 12:06:58PM +0100, Josua Mayer wrote:
> Add of_match table for "ti,amc6821" compatible string.
> This fixes automatic driver loading by userspace when using device-tree,
> and if built as a module like major linux distributions do.
>
> While devices probe just fine with i2c_device_id table, userspace can't
> match the "ti,amc6821" compatible string from dt with the plain
> "amc6821" device id. COnsequently kernel module ca not be loaded.
Applied, after cleaning up the last sentence above.
Guenter
prev parent reply other threads:[~2024-03-07 17:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 11:06 [PATCH] hwmon: (amc6821) add of_match table Josua Mayer
2024-03-07 17:19 ` Guenter Roeck [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=534a40d5-df07-466c-a27d-030c5bf93070@roeck-us.net \
--to=linux@roeck-us.net \
--cc=jdelvare@suse.com \
--cc=jon@solid-run.com \
--cc=josua@solid-run.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rabeeh@solid-run.com \
--cc=stable@vger.kernel.org \
--cc=yazan.shhady@solid-run.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).