aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm9240.c
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/hwmon/adm9240.c
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/hwmon/adm9240.c')
-rw-r--r--drivers/hwmon/adm9240.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/adm9240.c b/drivers/hwmon/adm9240.c
index c17d0b6b3283..7887192c4236 100644
--- a/drivers/hwmon/adm9240.c
+++ b/drivers/hwmon/adm9240.c
@@ -141,7 +141,6 @@ static struct i2c_driver adm9240_driver = {
141 .driver = { 141 .driver = {
142 .name = "adm9240", 142 .name = "adm9240",
143 }, 143 },
144 .id = I2C_DRIVERID_ADM9240,
145 .attach_adapter = adm9240_attach_adapter, 144 .attach_adapter = adm9240_attach_adapter,
146 .detach_client = adm9240_detach_client, 145 .detach_client = adm9240_detach_client,
147}; 146};