mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Mark M. Hoffman <[email protected]>
This commit is contained in:
parent
455f791ea3
commit
7b501b1f53
20 changed files with 0 additions and 52 deletions
|
|
@ -71,7 +71,6 @@ static struct i2c_driver eeprom_driver = {
|
|||
.driver = {
|
||||
.name = "eeprom",
|
||||
},
|
||||
.id = I2C_DRIVERID_EEPROM,
|
||||
.attach_adapter = eeprom_attach_adapter,
|
||||
.detach_client = eeprom_detach_client,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ static struct i2c_driver pcf8574_driver = {
|
|||
.driver = {
|
||||
.name = "pcf8574",
|
||||
},
|
||||
.id = I2C_DRIVERID_PCF8574,
|
||||
.attach_adapter = pcf8574_attach_adapter,
|
||||
.detach_client = pcf8574_detach_client,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@ static struct i2c_driver pcf8591_driver = {
|
|||
.driver = {
|
||||
.name = "pcf8591",
|
||||
},
|
||||
.id = I2C_DRIVERID_PCF8591,
|
||||
.attach_adapter = pcf8591_attach_adapter,
|
||||
.detach_client = pcf8591_detach_client,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue