Re: [PATCH v2 3/3] hwmon: lm25066: Use i2c_get_match_data()

From: Guenter Roeck
Date: Wed Nov 15 2023 - 17:24:24 EST


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@xxxxxxxxxx>

Applied.

Guenter