aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-03 13:44:09 -0500
committerMark M. Hoffman <mhoffman@lightlink.com>2008-02-07 20:39:44 -0500
commit7b501b1f53605bec17454dd8bbdbbf3f57a7cf32 (patch)
tree3ad4ffe685ebf6a4eca96591012005cf4fa9ed26 /drivers/i2c
parent455f791ea3e33a274c098b4a8c2e35d4d1a6d518 (diff)
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/chips/eeprom.c1
-rw-r--r--drivers/i2c/chips/pcf8574.c1
-rw-r--r--drivers/i2c/chips/pcf8591.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/chips/eeprom.c b/drivers/i2c/chips/eeprom.c
index fde297b21ad7..7dee001e5133 100644
--- a/drivers/i2c/chips/eeprom.c
+++ b/drivers/i2c/chips/eeprom.c
@@ -71,7 +71,6 @@ static struct i2c_driver eeprom_driver = {
71 .driver = { 71 .driver = {
72 .name = "eeprom", 72 .name = "eeprom",
73 }, 73 },
74 .id = I2C_DRIVERID_EEPROM,
75 .attach_adapter = eeprom_attach_adapter, 74 .attach_adapter = eeprom_attach_adapter,
76 .detach_client = eeprom_detach_client, 75 .detach_client = eeprom_detach_client,
77}; 76};
diff --git a/drivers/i2c/chips/pcf8574.c b/drivers/i2c/chips/pcf8574.c
index b3b830ccf209..e5b31329b56e 100644
--- a/drivers/i2c/chips/pcf8574.c
+++ b/drivers/i2c/chips/pcf8574.c
@@ -67,7 +67,6 @@ static struct i2c_driver pcf8574_driver = {
67 .driver = { 67 .driver = {
68 .name = "pcf8574", 68 .name = "pcf8574",
69 }, 69 },
70 .id = I2C_DRIVERID_PCF8574,
71 .attach_adapter = pcf8574_attach_adapter, 70 .attach_adapter = pcf8574_attach_adapter,
72 .detach_client = pcf8574_detach_client, 71 .detach_client = pcf8574_detach_client,
73}; 72};
diff --git a/drivers/i2c/chips/pcf8591.c b/drivers/i2c/chips/pcf8591.c
index 865f4409c06b..66c7c3bb9429 100644
--- a/drivers/i2c/chips/pcf8591.c
+++ b/drivers/i2c/chips/pcf8591.c
@@ -92,7 +92,6 @@ static struct i2c_driver pcf8591_driver = {
92 .driver = { 92 .driver = {
93 .name = "pcf8591", 93 .name = "pcf8591",
94 }, 94 },
95 .id = I2C_DRIVERID_PCF8591,
96 .attach_adapter = pcf8591_attach_adapter, 95 .attach_adapter = pcf8591_attach_adapter,
97 .detach_client = pcf8591_detach_client, 96 .detach_client = pcf8591_detach_client,
98}; 97};