diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-03 19:44:09 +0100 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-02-08 02:39:44 +0100 |
commit | 7b501b1f53605bec17454dd8bbdbbf3f57a7cf32 (patch) | |
tree | 3ad4ffe685ebf6a4eca96591012005cf4fa9ed26 /drivers/hwmon/lm78.c | |
parent | hwmon: (lm85) Make the pwmN_enable files writable (diff) | |
download | linux-7b501b1f53605bec17454dd8bbdbbf3f57a7cf32.tar.xz linux-7b501b1f53605bec17454dd8bbdbbf3f57a7cf32.zip |
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/lm78.c')
-rw-r--r-- | drivers/hwmon/lm78.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 934378eb4f8f..0a9eb1f6f4e4 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c @@ -168,7 +168,6 @@ static struct i2c_driver lm78_driver = { .driver = { .name = "lm78", }, - .id = I2C_DRIVERID_LM78, .attach_adapter = lm78_attach_adapter, .detach_client = lm78_detach_client, }; |