summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83l785ts.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-03 19:44:09 +0100
committerMark M. Hoffman <mhoffman@lightlink.com>2008-02-08 02:39:44 +0100
commit7b501b1f53605bec17454dd8bbdbbf3f57a7cf32 (patch)
tree3ad4ffe685ebf6a4eca96591012005cf4fa9ed26 /drivers/hwmon/w83l785ts.c
parenthwmon: (lm85) Make the pwmN_enable files writable (diff)
downloadlinux-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/w83l785ts.c')
-rw-r--r--drivers/hwmon/w83l785ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/w83l785ts.c b/drivers/hwmon/w83l785ts.c
index b5db354e2f19..1d6259d29e74 100644
--- a/drivers/hwmon/w83l785ts.c
+++ b/drivers/hwmon/w83l785ts.c
@@ -96,7 +96,6 @@ static struct i2c_driver w83l785ts_driver = {
.driver = {
.name = "w83l785ts",
},
- .id = I2C_DRIVERID_W83L785TS,
.attach_adapter = w83l785ts_attach_adapter,
.detach_client = w83l785ts_detach_client,
};