[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <69c0290f-ab61-4f6a-95f5-3ef0486c4bce@roeck-us.net>
Date: Wed, 15 Nov 2023 14:24:16 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Rob Herring <robh@...nel.org>
Cc: Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] hwmon: lm25066: Use i2c_get_match_data()
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@...nel.org>
Applied.
Guenter
Powered by blists - more mailing lists