mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
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>
This commit is contained in:
parent
f4a180247e
commit
04e3bb0b00
@ -58,8 +58,8 @@ static struct pmbus_driver_info ltc4286_info = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct i2c_device_id ltc4286_id[] = {
|
static const struct i2c_device_id ltc4286_id[] = {
|
||||||
{ "ltc4286", 0 },
|
{ "ltc4286", },
|
||||||
{ "ltc4287", 1 },
|
{ "ltc4287", },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(i2c, ltc4286_id);
|
MODULE_DEVICE_TABLE(i2c, ltc4286_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user