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>
此提交包含在:
@@ -94,7 +94,6 @@ static struct i2c_driver ds1621_driver = {
|
||||
.driver = {
|
||||
.name = "ds1621",
|
||||
},
|
||||
.id = I2C_DRIVERID_DS1621,
|
||||
.attach_adapter = ds1621_attach_adapter,
|
||||
.detach_client = ds1621_detach_client,
|
||||
};
|
||||
|
新增問題並參考
封鎖使用者