diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-03 13:44:09 -0500 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-02-07 20:39:44 -0500 |
commit | 7b501b1f53605bec17454dd8bbdbbf3f57a7cf32 (patch) | |
tree | 3ad4ffe685ebf6a4eca96591012005cf4fa9ed26 /drivers/hwmon/ds1621.c | |
parent | 455f791ea3e33a274c098b4a8c2e35d4d1a6d518 (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/ds1621.c')
-rw-r--r-- | drivers/hwmon/ds1621.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c index b7bd000b130f..3f5163de13c1 100644 --- a/drivers/hwmon/ds1621.c +++ b/drivers/hwmon/ds1621.c | |||
@@ -94,7 +94,6 @@ static struct i2c_driver ds1621_driver = { | |||
94 | .driver = { | 94 | .driver = { |
95 | .name = "ds1621", | 95 | .name = "ds1621", |
96 | }, | 96 | }, |
97 | .id = I2C_DRIVERID_DS1621, | ||
98 | .attach_adapter = ds1621_attach_adapter, | 97 | .attach_adapter = ds1621_attach_adapter, |
99 | .detach_client = ds1621_detach_client, | 98 | .detach_client = ds1621_detach_client, |
100 | }; | 99 | }; |