Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/9a48ba0368e0c8cddc94c5e4cf3edd7eadc03a2d.1720600141.git.u.kleine-koenig@baylibre.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Uwe Kleine-König and committed by
Guenter Roeck
04e3bb0b f4a18024

+2 -2
+2 -2
drivers/hwmon/pmbus/ltc4286.c
··· 58 58 }; 59 59 60 60 static const struct i2c_device_id ltc4286_id[] = { 61 - { "ltc4286", 0 }, 62 - { "ltc4287", 1 }, 61 + { "ltc4286", }, 62 + { "ltc4287", }, 63 63 {} 64 64 }; 65 65 MODULE_DEVICE_TABLE(i2c, ltc4286_id);