Re: [PATCH v2 2/3] hwmon: nct6775-i2c: Use i2c_get_match_data()

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


On Wed, Nov 15, 2023 at 02:57:01PM -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 'kinds' 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