]> www.infradead.org Git - users/willy/xarray.git/commit
hwmon: (max1668) Replace chip type with number of channels
authorGuenter Roeck <linux@roeck-us.net>
Mon, 15 Jul 2024 14:25:38 +0000 (07:25 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:53 +0000 (10:43 -0700)
commit355c529077b61aadf68910dc103dd54c30ec24d5
treefedfae43a14ed0be22ac49de8289050fc7e653cd
parent021730acbca603b6bf8575f2e5f4b62c71869656
hwmon: (max1668) Replace chip type with number of channels

The only difference between supported chips is the number of channels.
Drop enum chips and list the number of channels in struct i2c_device_id
directly.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max1668.c