From: Guenter Roeck <linux@roeck-us.net>
To: Rob Herring <robh@kernel.org>
Cc: Jean Delvare <jdelvare@suse.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/3] hwmon: lm25066: Use i2c_get_match_data()
Date: Wed, 15 Nov 2023 14:24:16 -0800 [thread overview]
Message-ID: <69c0290f-ab61-4f6a-95f5-3ef0486c4bce@roeck-us.net> (raw)
In-Reply-To: <20231115205703.3730448-3-robh@kernel.org>
On Wed, Nov 15, 2023 at 02:57:02PM -0600, Rob Herring wrote:
> Use preferred i2c_get_match_data() instead of of_match_device() and
> i2c_match_id() to get the driver match data. With this, adjust the
> includes to explicitly include the correct headers.
>
> Adjust the 'chips' enum to not use 0, so that no match data can be
> distinguished from a valid enum value.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
Applied.
Guenter
next prev parent reply other threads:[~2023-11-15 22:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 20:57 [PATCH v2 1/3] hwmon: max6650: " Rob Herring
2023-11-15 20:57 ` [PATCH v2 2/3] hwmon: nct6775-i2c: " Rob Herring
2023-11-15 22:23 ` Guenter Roeck
2023-11-15 20:57 ` [PATCH v2 3/3] hwmon: lm25066: " Rob Herring
2023-11-15 22:24 ` Guenter Roeck [this message]
2023-11-15 22:22 ` [PATCH v2 1/3] hwmon: max6650: " Guenter Roeck
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=69c0290f-ab61-4f6a-95f5-3ef0486c4bce@roeck-us.net \
--to=linux@roeck-us.net \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®