[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d143a5a3-73f7-4c54-94c6-92d1ce8bbf76@roeck-us.net>
Date: Wed, 15 Nov 2023 14:23:25 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Rob Herring <robh@...nel.org>
Cc: Jean Delvare <jdelvare@...e.com>,
Zev Weiss <zev@...ilderbeest.net>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/3] hwmon: nct6775-i2c: Use i2c_get_match_data()
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@...nel.org>
Applied.
Guenter
Powered by blists - more mailing lists