hwmon: Discard useless I2C driver IDs
Many I2C hwmon drivers define a driver ID but no other code references these, meaning that they are useless. Discard them, along with a few IDs which are defined but never used at all. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
This commit is contained in:
committed by
Mark M. Hoffman
parent
455f791ea3
commit
7b501b1f53
@ -204,7 +204,6 @@ static struct i2c_driver lm90_driver = {
|
||||
.driver = {
|
||||
.name = "lm90",
|
||||
},
|
||||
.id = I2C_DRIVERID_LM90,
|
||||
.attach_adapter = lm90_attach_adapter,
|
||||
.detach_client = lm90_detach_client,
|
||||
};
|
||||
|
Reference in New Issue
Block a user