aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
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
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')
-rw-r--r--drivers/hwmon/adm1021.c1
-rw-r--r--drivers/hwmon/adm1025.c1
-rw-r--r--drivers/hwmon/adm9240.c1
-rw-r--r--drivers/hwmon/asb100.c1
-rw-r--r--drivers/hwmon/ds1621.c1
-rw-r--r--drivers/hwmon/fscher.c1
-rw-r--r--drivers/hwmon/fscpos.c1
-rw-r--r--drivers/hwmon/lm75.c1
-rw-r--r--drivers/hwmon/lm78.c1
-rw-r--r--drivers/hwmon/lm80.c1
-rw-r--r--drivers/hwmon/lm83.c1
-rw-r--r--drivers/hwmon/lm85.c1
-rw-r--r--drivers/hwmon/lm87.c1
-rw-r--r--drivers/hwmon/lm90.c1
-rw-r--r--drivers/hwmon/lm92.c1
-rw-r--r--drivers/hwmon/w83l785ts.c1
16 files changed, 0 insertions, 16 deletions
diff --git a/drivers/hwmon/adm1021.c b/drivers/hwmon/adm1021.c
index ebdc6d7db231..b96be772e498 100644
--- a/drivers/hwmon/adm1021.c
+++ b/drivers/hwmon/adm1021.c
@@ -115,7 +115,6 @@ static struct i2c_driver adm1021_driver = {
115 .driver = { 115 .driver = {
116 .name = "adm1021", 116 .name = "adm1021",
117 }, 117 },
118 .id = I2C_DRIVERID_ADM1021,
119 .attach_adapter = adm1021_attach_adapter, 118 .attach_adapter = adm1021_attach_adapter,
120 .detach_client = adm1021_detach_client, 119 .detach_client = adm1021_detach_client,
121}; 120};
diff --git a/drivers/hwmon/adm1025.c b/drivers/hwmon/adm1025.c
index c7a365a9e405..33cc58b2fadb 100644
--- a/drivers/hwmon/adm1025.c
+++ b/drivers/hwmon/adm1025.c
@@ -123,7 +123,6 @@ static struct i2c_driver adm1025_driver = {
123 .driver = { 123 .driver = {
124 .name = "adm1025", 124 .name = "adm1025",
125 }, 125 },
126 .id = I2C_DRIVERID_ADM1025,
127 .attach_adapter = adm1025_attach_adapter, 126 .attach_adapter = adm1025_attach_adapter,
128 .detach_client = adm1025_detach_client, 127 .detach_client = adm1025_detach_client,
129}; 128};
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};
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c
index 9460dba4cf74..815493b9788d 100644
--- a/drivers/hwmon/asb100.c
+++ b/drivers/hwmon/asb100.c
@@ -221,7 +221,6 @@ static struct i2c_driver asb100_driver = {
221 .driver = { 221 .driver = {
222 .name = "asb100", 222 .name = "asb100",
223 }, 223 },
224 .id = I2C_DRIVERID_ASB100,
225 .attach_adapter = asb100_attach_adapter, 224 .attach_adapter = asb100_attach_adapter,
226 .detach_client = asb100_detach_client, 225 .detach_client = asb100_detach_client,
227}; 226};
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};
diff --git a/drivers/hwmon/fscher.c b/drivers/hwmon/fscher.c
index e67c36953b2d..721c70177b17 100644
--- a/drivers/hwmon/fscher.c
+++ b/drivers/hwmon/fscher.c
@@ -123,7 +123,6 @@ static struct i2c_driver fscher_driver = {
123 .driver = { 123 .driver = {
124 .name = "fscher", 124 .name = "fscher",
125 }, 125 },
126 .id = I2C_DRIVERID_FSCHER,
127 .attach_adapter = fscher_attach_adapter, 126 .attach_adapter = fscher_attach_adapter,
128 .detach_client = fscher_detach_client, 127 .detach_client = fscher_detach_client,
129}; 128};
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 = {
105 .driver = { 105 .driver = {
106 .name = "fscpos", 106 .name = "fscpos",
107 }, 107 },
108 .id = I2C_DRIVERID_FSCPOS,
109 .attach_adapter = fscpos_attach_adapter, 108 .attach_adapter = fscpos_attach_adapter,
110 .detach_client = fscpos_detach_client, 109 .detach_client = fscpos_detach_client,
111}; 110};
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index 37a8cc032ffa..e5c35a355a57 100644
--- a/drivers/hwmon/lm75.c
+++ b/drivers/hwmon/lm75.c
@@ -74,7 +74,6 @@ static struct i2c_driver lm75_driver = {
74 .driver = { 74 .driver = {
75 .name = "lm75", 75 .name = "lm75",
76 }, 76 },
77 .id = I2C_DRIVERID_LM75,
78 .attach_adapter = lm75_attach_adapter, 77 .attach_adapter = lm75_attach_adapter,
79 .detach_client = lm75_detach_client, 78 .detach_client = lm75_detach_client,
80}; 79};
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 = {
168 .driver = { 168 .driver = {
169 .name = "lm78", 169 .name = "lm78",
170 }, 170 },
171 .id = I2C_DRIVERID_LM78,
172 .attach_adapter = lm78_attach_adapter, 171 .attach_adapter = lm78_attach_adapter,
173 .detach_client = lm78_detach_client, 172 .detach_client = lm78_detach_client,
174}; 173};
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c
index 063cdba00a88..0bde0a382ef1 100644
--- a/drivers/hwmon/lm80.c
+++ b/drivers/hwmon/lm80.c
@@ -147,7 +147,6 @@ static struct i2c_driver lm80_driver = {
147 .driver = { 147 .driver = {
148 .name = "lm80", 148 .name = "lm80",
149 }, 149 },
150 .id = I2C_DRIVERID_LM80,
151 .attach_adapter = lm80_attach_adapter, 150 .attach_adapter = lm80_attach_adapter,
152 .detach_client = lm80_detach_client, 151 .detach_client = lm80_detach_client,
153}; 152};
diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c
index 0336b4572a61..6e8903a6e902 100644
--- a/drivers/hwmon/lm83.c
+++ b/drivers/hwmon/lm83.c
@@ -133,7 +133,6 @@ static struct i2c_driver lm83_driver = {
133 .driver = { 133 .driver = {
134 .name = "lm83", 134 .name = "lm83",
135 }, 135 },
136 .id = I2C_DRIVERID_LM83,
137 .attach_adapter = lm83_attach_adapter, 136 .attach_adapter = lm83_attach_adapter,
138 .detach_client = lm83_detach_client, 137 .detach_client = lm83_detach_client,
139}; 138};
diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c
index 9f1c6f1ee035..43212db7c798 100644
--- a/drivers/hwmon/lm85.c
+++ b/drivers/hwmon/lm85.c
@@ -367,7 +367,6 @@ static struct i2c_driver lm85_driver = {
367 .driver = { 367 .driver = {
368 .name = "lm85", 368 .name = "lm85",
369 }, 369 },
370 .id = I2C_DRIVERID_LM85,
371 .attach_adapter = lm85_attach_adapter, 370 .attach_adapter = lm85_attach_adapter,
372 .detach_client = lm85_detach_client, 371 .detach_client = lm85_detach_client,
373}; 372};
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c
index 3ab4c3f0efdd..7bedf7455e9a 100644
--- a/drivers/hwmon/lm87.c
+++ b/drivers/hwmon/lm87.c
@@ -171,7 +171,6 @@ static struct i2c_driver lm87_driver = {
171 .driver = { 171 .driver = {
172 .name = "lm87", 172 .name = "lm87",
173 }, 173 },
174 .id = I2C_DRIVERID_LM87,
175 .attach_adapter = lm87_attach_adapter, 174 .attach_adapter = lm87_attach_adapter,
176 .detach_client = lm87_detach_client, 175 .detach_client = lm87_detach_client,
177}; 176};
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index 116093d0eb3e..f7ec95bedbf6 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
@@ -204,7 +204,6 @@ static struct i2c_driver lm90_driver = {
204 .driver = { 204 .driver = {
205 .name = "lm90", 205 .name = "lm90",
206 }, 206 },
207 .id = I2C_DRIVERID_LM90,
208 .attach_adapter = lm90_attach_adapter, 207 .attach_adapter = lm90_attach_adapter,
209 .detach_client = lm90_detach_client, 208 .detach_client = lm90_detach_client,
210}; 209};
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c
index 61d1bd1d5b6e..af5c77d568fe 100644
--- a/drivers/hwmon/lm92.c
+++ b/drivers/hwmon/lm92.c
@@ -428,7 +428,6 @@ static struct i2c_driver lm92_driver = {
428 .driver = { 428 .driver = {
429 .name = "lm92", 429 .name = "lm92",
430 }, 430 },
431 .id = I2C_DRIVERID_LM92,
432 .attach_adapter = lm92_attach_adapter, 431 .attach_adapter = lm92_attach_adapter,
433 .detach_client = lm92_detach_client, 432 .detach_client = lm92_detach_client,
434}; 433};
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 = {
96 .driver = { 96 .driver = {
97 .name = "w83l785ts", 97 .name = "w83l785ts",
98 }, 98 },
99 .id = I2C_DRIVERID_W83L785TS,
100 .attach_adapter = w83l785ts_attach_adapter, 99 .attach_adapter = w83l785ts_attach_adapter,
101 .detach_client = w83l785ts_detach_client, 100 .detach_client = w83l785ts_detach_client,
102}; 101};