summaryrefslogtreecommitdiff
path: root/drivers/hwmon/fscpos.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-03 21:44:09 +0300
committerMark M. Hoffman <mhoffman@lightlink.com>2008-02-08 04:39:44 +0300
commit7b501b1f53605bec17454dd8bbdbbf3f57a7cf32 (patch)
tree3ad4ffe685ebf6a4eca96591012005cf4fa9ed26 /drivers/hwmon/fscpos.c
parent455f791ea3e33a274c098b4a8c2e35d4d1a6d518 (diff)
downloadlinux-7b501b1f53605bec17454dd8bbdbbf3f57a7cf32.tar.xz
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/fscpos.c')
-rw-r--r--drivers/hwmon/fscpos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/fscpos.c b/drivers/hwmon/fscpos.c
index 92c9703d0ac0..2f1075323a1e 100644
--- a/drivers/hwmon/fscpos.c
+++ b/drivers/hwmon/fscpos.c
@@ -105,7 +105,6 @@ static struct i2c_driver fscpos_driver = {
.driver = {
.name = "fscpos",
},
- .id = I2C_DRIVERID_FSCPOS,
.attach_adapter = fscpos_attach_adapter,
.detach_client = fscpos_detach_client,
};