From: Uwe Kleine-König Date: Wed, 10 Jul 2024 08:35:45 +0000 (+0200) Subject: hwmon: (pmbus/ltc4286) Drop unused i2c device ids X-Git-Tag: v6.11-rc1~212^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04e3bb0b00a872e5bed0457c3e2c48a7828eaf28;p=thirdparty%2Fkernel%2Flinux.git hwmon: (pmbus/ltc4286) Drop unused i2c device ids The driver doesn't make use of the different numbers assigned to the different devices. So drop them. Signed-off-by: Uwe Kleine-König Link: https://lore.kernel.org/r/9a48ba0368e0c8cddc94c5e4cf3edd7eadc03a2d.1720600141.git.u.kleine-koenig@baylibre.com Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/pmbus/ltc4286.c b/drivers/hwmon/pmbus/ltc4286.c index 9e7ceeb7e7890..aabd0bcdfeee3 100644 --- a/drivers/hwmon/pmbus/ltc4286.c +++ b/drivers/hwmon/pmbus/ltc4286.c @@ -58,8 +58,8 @@ static struct pmbus_driver_info ltc4286_info = { }; static const struct i2c_device_id ltc4286_id[] = { - { "ltc4286", 0 }, - { "ltc4287", 1 }, + { "ltc4286", }, + { "ltc4287", }, {} }; MODULE_DEVICE_TABLE(i2c, ltc4286_id);