aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/abituguru.c2
-rw-r--r--drivers/hwmon/abituguru3.c2
-rw-r--r--drivers/hwmon/ad7314.c2
-rw-r--r--drivers/hwmon/ad7414.c2
-rw-r--r--drivers/hwmon/adcxx.c2
-rw-r--r--drivers/hwmon/ads7871.c2
-rw-r--r--drivers/hwmon/adt7411.c2
-rw-r--r--drivers/hwmon/coretemp.c2
-rw-r--r--drivers/hwmon/da9052-hwmon.c2
-rw-r--r--drivers/hwmon/dme1737.c2
-rw-r--r--drivers/hwmon/f71805f.c2
-rw-r--r--drivers/hwmon/fam15h_power.c2
-rw-r--r--drivers/hwmon/gpio-fan.c2
-rw-r--r--drivers/hwmon/hih6130.c2
-rw-r--r--drivers/hwmon/i5k_amb.c2
-rw-r--r--drivers/hwmon/it87.c4
-rw-r--r--drivers/hwmon/jz4740-hwmon.c2
-rw-r--r--drivers/hwmon/k10temp.c2
-rw-r--r--drivers/hwmon/k8temp.c2
-rw-r--r--drivers/hwmon/lm70.c2
-rw-r--r--drivers/hwmon/lm78.c2
-rw-r--r--drivers/hwmon/max1111.c2
-rw-r--r--drivers/hwmon/max197.c2
-rw-r--r--drivers/hwmon/mc13783-adc.c2
-rw-r--r--drivers/hwmon/ntc_thermistor.c2
-rw-r--r--drivers/hwmon/pc87360.c4
-rw-r--r--drivers/hwmon/pc87427.c2
-rw-r--r--drivers/hwmon/s3c-hwmon.c2
-rw-r--r--drivers/hwmon/sht15.c2
-rw-r--r--drivers/hwmon/sht21.c2
-rw-r--r--drivers/hwmon/sis5595.c4
-rw-r--r--drivers/hwmon/smsc47b397.c2
-rw-r--r--drivers/hwmon/tmp102.c2
-rw-r--r--drivers/hwmon/twl4030-madc-hwmon.c2
-rw-r--r--drivers/hwmon/ultra45_env.c2
-rw-r--r--drivers/hwmon/via-cputemp.c2
-rw-r--r--drivers/hwmon/via686a.c4
-rw-r--r--drivers/hwmon/vt1211.c2
-rw-r--r--drivers/hwmon/vt8231.c4
-rw-r--r--drivers/hwmon/w83627ehf.c2
-rw-r--r--drivers/hwmon/w83627hf.c4
-rw-r--r--drivers/hwmon/w83781d.c2
-rw-r--r--drivers/hwmon/wm831x-hwmon.c2
-rw-r--r--drivers/hwmon/wm8350-hwmon.c2
44 files changed, 50 insertions, 50 deletions
diff --git a/drivers/hwmon/abituguru.c b/drivers/hwmon/abituguru.c
index 700d5e0442e..6119ff8e8c8 100644
--- a/drivers/hwmon/abituguru.c
+++ b/drivers/hwmon/abituguru.c
@@ -1434,7 +1434,7 @@ abituguru_probe_error:
1434 return res; 1434 return res;
1435} 1435}
1436 1436
1437static int __devexit abituguru_remove(struct platform_device *pdev) 1437static int abituguru_remove(struct platform_device *pdev)
1438{ 1438{
1439 int i; 1439 int i;
1440 struct abituguru_data *data = platform_get_drvdata(pdev); 1440 struct abituguru_data *data = platform_get_drvdata(pdev);
diff --git a/drivers/hwmon/abituguru3.c b/drivers/hwmon/abituguru3.c
index b8d0942a987..205327d33c4 100644
--- a/drivers/hwmon/abituguru3.c
+++ b/drivers/hwmon/abituguru3.c
@@ -1072,7 +1072,7 @@ abituguru3_probe_error:
1072 return res; 1072 return res;
1073} 1073}
1074 1074
1075static int __devexit abituguru3_remove(struct platform_device *pdev) 1075static int abituguru3_remove(struct platform_device *pdev)
1076{ 1076{
1077 int i; 1077 int i;
1078 struct abituguru3_data *data = platform_get_drvdata(pdev); 1078 struct abituguru3_data *data = platform_get_drvdata(pdev);
diff --git a/drivers/hwmon/ad7314.c b/drivers/hwmon/ad7314.c
index defd34b0462..a57584d28a4 100644
--- a/drivers/hwmon/ad7314.c
+++ b/drivers/hwmon/ad7314.c
@@ -135,7 +135,7 @@ error_remove_group:
135 return ret; 135 return ret;
136} 136}
137 137
138static int __devexit ad7314_remove(struct spi_device *spi_dev) 138static int ad7314_remove(struct spi_device *spi_dev)
139{ 139{
140 struct ad7314_data *chip = dev_get_drvdata(&spi_dev->dev); 140 struct ad7314_data *chip = dev_get_drvdata(&spi_dev->dev);
141 141
diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c
index 20276ca37ed..f3a5d4764eb 100644
--- a/drivers/hwmon/ad7414.c
+++ b/drivers/hwmon/ad7414.c
@@ -226,7 +226,7 @@ exit_remove:
226 return err; 226 return err;
227} 227}
228 228
229static int __devexit ad7414_remove(struct i2c_client *client) 229static int ad7414_remove(struct i2c_client *client)
230{ 230{
231 struct ad7414_data *data = i2c_get_clientdata(client); 231 struct ad7414_data *data = i2c_get_clientdata(client);
232 232
diff --git a/drivers/hwmon/adcxx.c b/drivers/hwmon/adcxx.c
index ecc1e6c5fa9..751b1f0264a 100644
--- a/drivers/hwmon/adcxx.c
+++ b/drivers/hwmon/adcxx.c
@@ -208,7 +208,7 @@ out_err:
208 return status; 208 return status;
209} 209}
210 210
211static int __devexit adcxx_remove(struct spi_device *spi) 211static int adcxx_remove(struct spi_device *spi)
212{ 212{
213 struct adcxx *adc = spi_get_drvdata(spi); 213 struct adcxx *adc = spi_get_drvdata(spi);
214 int i; 214 int i;
diff --git a/drivers/hwmon/ads7871.c b/drivers/hwmon/ads7871.c
index 41a7837585f..a79875986f9 100644
--- a/drivers/hwmon/ads7871.c
+++ b/drivers/hwmon/ads7871.c
@@ -225,7 +225,7 @@ error_remove:
225 return err; 225 return err;
226} 226}
227 227
228static int __devexit ads7871_remove(struct spi_device *spi) 228static int ads7871_remove(struct spi_device *spi)
229{ 229{
230 struct ads7871_data *pdata = spi_get_drvdata(spi); 230 struct ads7871_data *pdata = spi_get_drvdata(spi);
231 231
diff --git a/drivers/hwmon/adt7411.c b/drivers/hwmon/adt7411.c
index 68a5da71566..34ff03abb50 100644
--- a/drivers/hwmon/adt7411.c
+++ b/drivers/hwmon/adt7411.c
@@ -317,7 +317,7 @@ static int adt7411_probe(struct i2c_client *client,
317 return ret; 317 return ret;
318} 318}
319 319
320static int __devexit adt7411_remove(struct i2c_client *client) 320static int adt7411_remove(struct i2c_client *client)
321{ 321{
322 struct adt7411_data *data = i2c_get_clientdata(client); 322 struct adt7411_data *data = i2c_get_clientdata(client);
323 323
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index 65a37463199..001e22c6046 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -586,7 +586,7 @@ exit_free:
586 return err; 586 return err;
587} 587}
588 588
589static int __devexit coretemp_remove(struct platform_device *pdev) 589static int coretemp_remove(struct platform_device *pdev)
590{ 590{
591 struct platform_data *pdata = platform_get_drvdata(pdev); 591 struct platform_data *pdata = platform_get_drvdata(pdev);
592 int i; 592 int i;
diff --git a/drivers/hwmon/da9052-hwmon.c b/drivers/hwmon/da9052-hwmon.c
index d3206e341de..aca7f0c7ff7 100644
--- a/drivers/hwmon/da9052-hwmon.c
+++ b/drivers/hwmon/da9052-hwmon.c
@@ -316,7 +316,7 @@ err_mem:
316 return ret; 316 return ret;
317} 317}
318 318
319static int __devexit da9052_hwmon_remove(struct platform_device *pdev) 319static int da9052_hwmon_remove(struct platform_device *pdev)
320{ 320{
321 struct da9052_hwmon *hwmon = platform_get_drvdata(pdev); 321 struct da9052_hwmon *hwmon = platform_get_drvdata(pdev);
322 322
diff --git a/drivers/hwmon/dme1737.c b/drivers/hwmon/dme1737.c
index aa6a493731b..7430f70ae45 100644
--- a/drivers/hwmon/dme1737.c
+++ b/drivers/hwmon/dme1737.c
@@ -2718,7 +2718,7 @@ exit_remove_files:
2718 return err; 2718 return err;
2719} 2719}
2720 2720
2721static int __devexit dme1737_isa_remove(struct platform_device *pdev) 2721static int dme1737_isa_remove(struct platform_device *pdev)
2722{ 2722{
2723 struct dme1737_data *data = platform_get_drvdata(pdev); 2723 struct dme1737_data *data = platform_get_drvdata(pdev);
2724 2724
diff --git a/drivers/hwmon/f71805f.c b/drivers/hwmon/f71805f.c
index 0c8426eea6a..a9816979c5d 100644
--- a/drivers/hwmon/f71805f.c
+++ b/drivers/hwmon/f71805f.c
@@ -1490,7 +1490,7 @@ exit_remove_files:
1490 return err; 1490 return err;
1491} 1491}
1492 1492
1493static int __devexit f71805f_remove(struct platform_device *pdev) 1493static int f71805f_remove(struct platform_device *pdev)
1494{ 1494{
1495 struct f71805f_data *data = platform_get_drvdata(pdev); 1495 struct f71805f_data *data = platform_get_drvdata(pdev);
1496 int i; 1496 int i;
diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index 4eca2985028..5cec685f1b7 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -235,7 +235,7 @@ exit_remove_group:
235 return err; 235 return err;
236} 236}
237 237
238static void __devexit fam15h_power_remove(struct pci_dev *pdev) 238static void fam15h_power_remove(struct pci_dev *pdev)
239{ 239{
240 struct device *dev; 240 struct device *dev;
241 struct fam15h_power_data *data; 241 struct fam15h_power_data *data;
diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c
index 0f46cca6179..4e04c1228e5 100644
--- a/drivers/hwmon/gpio-fan.c
+++ b/drivers/hwmon/gpio-fan.c
@@ -581,7 +581,7 @@ err_free_alarm:
581 return err; 581 return err;
582} 582}
583 583
584static int __devexit gpio_fan_remove(struct platform_device *pdev) 584static int gpio_fan_remove(struct platform_device *pdev)
585{ 585{
586 struct gpio_fan_data *fan_data = platform_get_drvdata(pdev); 586 struct gpio_fan_data *fan_data = platform_get_drvdata(pdev);
587 587
diff --git a/drivers/hwmon/hih6130.c b/drivers/hwmon/hih6130.c
index 5c65aef095c..2dc37c7c694 100644
--- a/drivers/hwmon/hih6130.c
+++ b/drivers/hwmon/hih6130.c
@@ -263,7 +263,7 @@ fail_remove_sysfs:
263 * hih6130_remove() - remove device 263 * hih6130_remove() - remove device
264 * @client: I2C client device 264 * @client: I2C client device
265 */ 265 */
266static int __devexit hih6130_remove(struct i2c_client *client) 266static int hih6130_remove(struct i2c_client *client)
267{ 267{
268 struct hih6130 *hih6130 = i2c_get_clientdata(client); 268 struct hih6130 *hih6130 = i2c_get_clientdata(client);
269 269
diff --git a/drivers/hwmon/i5k_amb.c b/drivers/hwmon/i5k_amb.c
index f3bc723c930..b87c2ccee06 100644
--- a/drivers/hwmon/i5k_amb.c
+++ b/drivers/hwmon/i5k_amb.c
@@ -564,7 +564,7 @@ err:
564 return res; 564 return res;
565} 565}
566 566
567static int __devexit i5k_amb_remove(struct platform_device *pdev) 567static int i5k_amb_remove(struct platform_device *pdev)
568{ 568{
569 int i; 569 int i;
570 struct i5k_amb_data *data = platform_get_drvdata(pdev); 570 struct i5k_amb_data *data = platform_get_drvdata(pdev);
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
index 3a4da44f704..d32aa354cbd 100644
--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -428,7 +428,7 @@ static inline int has_old_autopwm(const struct it87_data *data)
428} 428}
429 429
430static int it87_probe(struct platform_device *pdev); 430static int it87_probe(struct platform_device *pdev);
431static int __devexit it87_remove(struct platform_device *pdev); 431static int it87_remove(struct platform_device *pdev);
432 432
433static int it87_read_value(struct it87_data *data, u8 reg); 433static int it87_read_value(struct it87_data *data, u8 reg);
434static void it87_write_value(struct it87_data *data, u8 reg, u8 value); 434static void it87_write_value(struct it87_data *data, u8 reg, u8 value);
@@ -2158,7 +2158,7 @@ error:
2158 return err; 2158 return err;
2159} 2159}
2160 2160
2161static int __devexit it87_remove(struct platform_device *pdev) 2161static int it87_remove(struct platform_device *pdev)
2162{ 2162{
2163 struct it87_data *data = platform_get_drvdata(pdev); 2163 struct it87_data *data = platform_get_drvdata(pdev);
2164 2164
diff --git a/drivers/hwmon/jz4740-hwmon.c b/drivers/hwmon/jz4740-hwmon.c
index b944d615944..e0d66b9590a 100644
--- a/drivers/hwmon/jz4740-hwmon.c
+++ b/drivers/hwmon/jz4740-hwmon.c
@@ -172,7 +172,7 @@ err_remove_file:
172 return ret; 172 return ret;
173} 173}
174 174
175static int __devexit jz4740_hwmon_remove(struct platform_device *pdev) 175static int jz4740_hwmon_remove(struct platform_device *pdev)
176{ 176{
177 struct jz4740_hwmon *hwmon = platform_get_drvdata(pdev); 177 struct jz4740_hwmon *hwmon = platform_get_drvdata(pdev);
178 178
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index da8acda48ab..e3b037c73a7 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -192,7 +192,7 @@ exit:
192 return err; 192 return err;
193} 193}
194 194
195static void __devexit k10temp_remove(struct pci_dev *pdev) 195static void k10temp_remove(struct pci_dev *pdev)
196{ 196{
197 hwmon_device_unregister(pci_get_drvdata(pdev)); 197 hwmon_device_unregister(pci_get_drvdata(pdev));
198 device_remove_file(&pdev->dev, &dev_attr_name); 198 device_remove_file(&pdev->dev, &dev_attr_name);
diff --git a/drivers/hwmon/k8temp.c b/drivers/hwmon/k8temp.c
index 8c46753158d..9f3c0aeacdb 100644
--- a/drivers/hwmon/k8temp.c
+++ b/drivers/hwmon/k8temp.c
@@ -304,7 +304,7 @@ exit_remove:
304 return err; 304 return err;
305} 305}
306 306
307static void __devexit k8temp_remove(struct pci_dev *pdev) 307static void k8temp_remove(struct pci_dev *pdev)
308{ 308{
309 struct k8temp_data *data = pci_get_drvdata(pdev); 309 struct k8temp_data *data = pci_get_drvdata(pdev);
310 310
diff --git a/drivers/hwmon/lm70.c b/drivers/hwmon/lm70.c
index d5f006e67a5..016efa26ba7 100644
--- a/drivers/hwmon/lm70.c
+++ b/drivers/hwmon/lm70.c
@@ -178,7 +178,7 @@ out_dev_create_temp_file_failed:
178 return status; 178 return status;
179} 179}
180 180
181static int __devexit lm70_remove(struct spi_device *spi) 181static int lm70_remove(struct spi_device *spi)
182{ 182{
183 struct lm70 *p_lm70 = spi_get_drvdata(spi); 183 struct lm70 *p_lm70 = spi_get_drvdata(spi);
184 184
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c
index 181d756badc..53d6ee8ffa3 100644
--- a/drivers/hwmon/lm78.c
+++ b/drivers/hwmon/lm78.c
@@ -886,7 +886,7 @@ static int lm78_isa_probe(struct platform_device *pdev)
886 return err; 886 return err;
887} 887}
888 888
889static int __devexit lm78_isa_remove(struct platform_device *pdev) 889static int lm78_isa_remove(struct platform_device *pdev)
890{ 890{
891 struct lm78_data *data = platform_get_drvdata(pdev); 891 struct lm78_data *data = platform_get_drvdata(pdev);
892 892
diff --git a/drivers/hwmon/max1111.c b/drivers/hwmon/max1111.c
index 410351bcc3e..eda077de8a9 100644
--- a/drivers/hwmon/max1111.c
+++ b/drivers/hwmon/max1111.c
@@ -256,7 +256,7 @@ err_remove:
256 return err; 256 return err;
257} 257}
258 258
259static int __devexit max1111_remove(struct spi_device *spi) 259static int max1111_remove(struct spi_device *spi)
260{ 260{
261 struct max1111_data *data = spi_get_drvdata(spi); 261 struct max1111_data *data = spi_get_drvdata(spi);
262 262
diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c
index 76c941e0b95..b5ebb9198c7 100644
--- a/drivers/hwmon/max197.c
+++ b/drivers/hwmon/max197.c
@@ -316,7 +316,7 @@ error:
316 return ret; 316 return ret;
317} 317}
318 318
319static int __devexit max197_remove(struct platform_device *pdev) 319static int max197_remove(struct platform_device *pdev)
320{ 320{
321 struct max197_data *data = platform_get_drvdata(pdev); 321 struct max197_data *data = platform_get_drvdata(pdev);
322 322
diff --git a/drivers/hwmon/mc13783-adc.c b/drivers/hwmon/mc13783-adc.c
index 50032ee45a3..2a7f331cd3c 100644
--- a/drivers/hwmon/mc13783-adc.c
+++ b/drivers/hwmon/mc13783-adc.c
@@ -233,7 +233,7 @@ out_err_create_16chans:
233 return ret; 233 return ret;
234} 234}
235 235
236static int __devexit mc13783_adc_remove(struct platform_device *pdev) 236static int mc13783_adc_remove(struct platform_device *pdev)
237{ 237{
238 struct mc13783_adc_priv *priv = platform_get_drvdata(pdev); 238 struct mc13783_adc_priv *priv = platform_get_drvdata(pdev);
239 kernel_ulong_t driver_data = platform_get_device_id(pdev)->driver_data; 239 kernel_ulong_t driver_data = platform_get_device_id(pdev)->driver_data;
diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c
index ac4f403bc61..a87eb8986e3 100644
--- a/drivers/hwmon/ntc_thermistor.c
+++ b/drivers/hwmon/ntc_thermistor.c
@@ -393,7 +393,7 @@ err_after_sysfs:
393 return ret; 393 return ret;
394} 394}
395 395
396static int __devexit ntc_thermistor_remove(struct platform_device *pdev) 396static int ntc_thermistor_remove(struct platform_device *pdev)
397{ 397{
398 struct ntc_data *data = platform_get_drvdata(pdev); 398 struct ntc_data *data = platform_get_drvdata(pdev);
399 399
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c
index b4c11c6ac67..e35856bb79b 100644
--- a/drivers/hwmon/pc87360.c
+++ b/drivers/hwmon/pc87360.c
@@ -228,7 +228,7 @@ struct pc87360_data {
228 */ 228 */
229 229
230static int pc87360_probe(struct platform_device *pdev); 230static int pc87360_probe(struct platform_device *pdev);
231static int __devexit pc87360_remove(struct platform_device *pdev); 231static int pc87360_remove(struct platform_device *pdev);
232 232
233static int pc87360_read_value(struct pc87360_data *data, u8 ldi, u8 bank, 233static int pc87360_read_value(struct pc87360_data *data, u8 ldi, u8 bank,
234 u8 reg); 234 u8 reg);
@@ -1375,7 +1375,7 @@ error:
1375 return err; 1375 return err;
1376} 1376}
1377 1377
1378static int __devexit pc87360_remove(struct platform_device *pdev) 1378static int pc87360_remove(struct platform_device *pdev)
1379{ 1379{
1380 struct pc87360_data *data = platform_get_drvdata(pdev); 1380 struct pc87360_data *data = platform_get_drvdata(pdev);
1381 1381
diff --git a/drivers/hwmon/pc87427.c b/drivers/hwmon/pc87427.c
index 36a0d177caf..6086ad039d7 100644
--- a/drivers/hwmon/pc87427.c
+++ b/drivers/hwmon/pc87427.c
@@ -1141,7 +1141,7 @@ exit_remove_files:
1141 return err; 1141 return err;
1142} 1142}
1143 1143
1144static int __devexit pc87427_remove(struct platform_device *pdev) 1144static int pc87427_remove(struct platform_device *pdev)
1145{ 1145{
1146 struct pc87427_data *data = platform_get_drvdata(pdev); 1146 struct pc87427_data *data = platform_get_drvdata(pdev);
1147 1147
diff --git a/drivers/hwmon/s3c-hwmon.c b/drivers/hwmon/s3c-hwmon.c
index 397e2ada61c..ff2ae0252a4 100644
--- a/drivers/hwmon/s3c-hwmon.c
+++ b/drivers/hwmon/s3c-hwmon.c
@@ -364,7 +364,7 @@ static int s3c_hwmon_probe(struct platform_device *dev)
364 return ret; 364 return ret;
365} 365}
366 366
367static int __devexit s3c_hwmon_remove(struct platform_device *dev) 367static int s3c_hwmon_remove(struct platform_device *dev)
368{ 368{
369 struct s3c_hwmon *hwmon = platform_get_drvdata(dev); 369 struct s3c_hwmon *hwmon = platform_get_drvdata(dev);
370 int i; 370 int i;
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c
index d5b79e7dbed..1c85d39df17 100644
--- a/drivers/hwmon/sht15.c
+++ b/drivers/hwmon/sht15.c
@@ -1002,7 +1002,7 @@ err_release_reg:
1002 return ret; 1002 return ret;
1003} 1003}
1004 1004
1005static int __devexit sht15_remove(struct platform_device *pdev) 1005static int sht15_remove(struct platform_device *pdev)
1006{ 1006{
1007 struct sht15_data *data = platform_get_drvdata(pdev); 1007 struct sht15_data *data = platform_get_drvdata(pdev);
1008 1008
diff --git a/drivers/hwmon/sht21.c b/drivers/hwmon/sht21.c
index 9a4cc3b5ae0..2e9f9570b6f 100644
--- a/drivers/hwmon/sht21.c
+++ b/drivers/hwmon/sht21.c
@@ -233,7 +233,7 @@ fail_remove_sysfs:
233 * sht21_remove() - remove device 233 * sht21_remove() - remove device
234 * @client: I2C client device 234 * @client: I2C client device
235 */ 235 */
236static int __devexit sht21_remove(struct i2c_client *client) 236static int sht21_remove(struct i2c_client *client)
237{ 237{
238 struct sht21 *sht21 = i2c_get_clientdata(client); 238 struct sht21 *sht21 = i2c_get_clientdata(client);
239 239
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c
index e84836bcb6c..06ce3c911db 100644
--- a/drivers/hwmon/sis5595.c
+++ b/drivers/hwmon/sis5595.c
@@ -204,7 +204,7 @@ struct sis5595_data {
204static struct pci_dev *s_bridge; /* pointer to the (only) sis5595 */ 204static struct pci_dev *s_bridge; /* pointer to the (only) sis5595 */
205 205
206static int sis5595_probe(struct platform_device *pdev); 206static int sis5595_probe(struct platform_device *pdev);
207static int __devexit sis5595_remove(struct platform_device *pdev); 207static int sis5595_remove(struct platform_device *pdev);
208 208
209static int sis5595_read_value(struct sis5595_data *data, u8 reg); 209static int sis5595_read_value(struct sis5595_data *data, u8 reg);
210static void sis5595_write_value(struct sis5595_data *data, u8 reg, u8 value); 210static void sis5595_write_value(struct sis5595_data *data, u8 reg, u8 value);
@@ -659,7 +659,7 @@ exit_remove_files:
659 return err; 659 return err;
660} 660}
661 661
662static int __devexit sis5595_remove(struct platform_device *pdev) 662static int sis5595_remove(struct platform_device *pdev)
663{ 663{
664 struct sis5595_data *data = platform_get_drvdata(pdev); 664 struct sis5595_data *data = platform_get_drvdata(pdev);
665 665
diff --git a/drivers/hwmon/smsc47b397.c b/drivers/hwmon/smsc47b397.c
index 9100a274885..81348fadf3b 100644
--- a/drivers/hwmon/smsc47b397.c
+++ b/drivers/hwmon/smsc47b397.c
@@ -228,7 +228,7 @@ static const struct attribute_group smsc47b397_group = {
228 .attrs = smsc47b397_attributes, 228 .attrs = smsc47b397_attributes,
229}; 229};
230 230
231static int __devexit smsc47b397_remove(struct platform_device *pdev) 231static int smsc47b397_remove(struct platform_device *pdev)
232{ 232{
233 struct smsc47b397_data *data = platform_get_drvdata(pdev); 233 struct smsc47b397_data *data = platform_get_drvdata(pdev);
234 234
diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c
index bd8e4af6fd4..b10c3d36ccb 100644
--- a/drivers/hwmon/tmp102.c
+++ b/drivers/hwmon/tmp102.c
@@ -216,7 +216,7 @@ fail_restore_config:
216 return status; 216 return status;
217} 217}
218 218
219static int __devexit tmp102_remove(struct i2c_client *client) 219static int tmp102_remove(struct i2c_client *client)
220{ 220{
221 struct tmp102 *tmp102 = i2c_get_clientdata(client); 221 struct tmp102 *tmp102 = i2c_get_clientdata(client);
222 222
diff --git a/drivers/hwmon/twl4030-madc-hwmon.c b/drivers/hwmon/twl4030-madc-hwmon.c
index 6b42f415c5c..149d44a7c58 100644
--- a/drivers/hwmon/twl4030-madc-hwmon.c
+++ b/drivers/hwmon/twl4030-madc-hwmon.c
@@ -120,7 +120,7 @@ err_sysfs:
120 return ret; 120 return ret;
121} 121}
122 122
123static int __devexit twl4030_madc_hwmon_remove(struct platform_device *pdev) 123static int twl4030_madc_hwmon_remove(struct platform_device *pdev)
124{ 124{
125 hwmon_device_unregister(&pdev->dev); 125 hwmon_device_unregister(&pdev->dev);
126 sysfs_remove_group(&pdev->dev.kobj, &twl4030_madc_group); 126 sysfs_remove_group(&pdev->dev.kobj, &twl4030_madc_group);
diff --git a/drivers/hwmon/ultra45_env.c b/drivers/hwmon/ultra45_env.c
index 4a06fc01631..fb3e69341c1 100644
--- a/drivers/hwmon/ultra45_env.c
+++ b/drivers/hwmon/ultra45_env.c
@@ -291,7 +291,7 @@ out_free:
291 goto out; 291 goto out;
292} 292}
293 293
294static int __devexit env_remove(struct platform_device *op) 294static int env_remove(struct platform_device *op)
295{ 295{
296 struct env *p = platform_get_drvdata(op); 296 struct env *p = platform_get_drvdata(op);
297 297
diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c
index b86ad796fa8..76f157b568e 100644
--- a/drivers/hwmon/via-cputemp.c
+++ b/drivers/hwmon/via-cputemp.c
@@ -192,7 +192,7 @@ exit_remove:
192 return err; 192 return err;
193} 193}
194 194
195static int __devexit via_cputemp_remove(struct platform_device *pdev) 195static int via_cputemp_remove(struct platform_device *pdev)
196{ 196{
197 struct via_cputemp_data *data = platform_get_drvdata(pdev); 197 struct via_cputemp_data *data = platform_get_drvdata(pdev);
198 198
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c
index 9d6e27e8c0f..e0e14a9f165 100644
--- a/drivers/hwmon/via686a.c
+++ b/drivers/hwmon/via686a.c
@@ -339,7 +339,7 @@ struct via686a_data {
339static struct pci_dev *s_bridge; /* pointer to the (only) via686a */ 339static struct pci_dev *s_bridge; /* pointer to the (only) via686a */
340 340
341static int via686a_probe(struct platform_device *pdev); 341static int via686a_probe(struct platform_device *pdev);
342static int __devexit via686a_remove(struct platform_device *pdev); 342static int via686a_remove(struct platform_device *pdev);
343 343
344static inline int via686a_read_value(struct via686a_data *data, u8 reg) 344static inline int via686a_read_value(struct via686a_data *data, u8 reg)
345{ 345{
@@ -728,7 +728,7 @@ exit_remove_files:
728 return err; 728 return err;
729} 729}
730 730
731static int __devexit via686a_remove(struct platform_device *pdev) 731static int via686a_remove(struct platform_device *pdev)
732{ 732{
733 struct via686a_data *data = platform_get_drvdata(pdev); 733 struct via686a_data *data = platform_get_drvdata(pdev);
734 734
diff --git a/drivers/hwmon/vt1211.c b/drivers/hwmon/vt1211.c
index ae02edb50c3..751703059fa 100644
--- a/drivers/hwmon/vt1211.c
+++ b/drivers/hwmon/vt1211.c
@@ -1217,7 +1217,7 @@ EXIT_DEV_REMOVE_SILENT:
1217 return err; 1217 return err;
1218} 1218}
1219 1219
1220static int __devexit vt1211_remove(struct platform_device *pdev) 1220static int vt1211_remove(struct platform_device *pdev)
1221{ 1221{
1222 struct vt1211_data *data = platform_get_drvdata(pdev); 1222 struct vt1211_data *data = platform_get_drvdata(pdev);
1223 1223
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c
index a86ef1b1920..a56355cef18 100644
--- a/drivers/hwmon/vt8231.c
+++ b/drivers/hwmon/vt8231.c
@@ -176,7 +176,7 @@ struct vt8231_data {
176 176
177static struct pci_dev *s_bridge; 177static struct pci_dev *s_bridge;
178static int vt8231_probe(struct platform_device *pdev); 178static int vt8231_probe(struct platform_device *pdev);
179static int __devexit vt8231_remove(struct platform_device *pdev); 179static int vt8231_remove(struct platform_device *pdev);
180static struct vt8231_data *vt8231_update_device(struct device *dev); 180static struct vt8231_data *vt8231_update_device(struct device *dev);
181static void vt8231_init_device(struct vt8231_data *data); 181static void vt8231_init_device(struct vt8231_data *data);
182 182
@@ -851,7 +851,7 @@ exit_remove_files:
851 return err; 851 return err;
852} 852}
853 853
854static int __devexit vt8231_remove(struct platform_device *pdev) 854static int vt8231_remove(struct platform_device *pdev)
855{ 855{
856 struct vt8231_data *data = platform_get_drvdata(pdev); 856 struct vt8231_data *data = platform_get_drvdata(pdev);
857 int i; 857 int i;
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
index 09e17ff6163..55ac41c0556 100644
--- a/drivers/hwmon/w83627ehf.c
+++ b/drivers/hwmon/w83627ehf.c
@@ -2596,7 +2596,7 @@ exit:
2596 return err; 2596 return err;
2597} 2597}
2598 2598
2599static int __devexit w83627ehf_remove(struct platform_device *pdev) 2599static int w83627ehf_remove(struct platform_device *pdev)
2600{ 2600{
2601 struct w83627ehf_data *data = platform_get_drvdata(pdev); 2601 struct w83627ehf_data *data = platform_get_drvdata(pdev);
2602 2602
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c
index e5a7e529448..7f68b8309d1 100644
--- a/drivers/hwmon/w83627hf.c
+++ b/drivers/hwmon/w83627hf.c
@@ -393,7 +393,7 @@ struct w83627hf_data {
393 393
394 394
395static int w83627hf_probe(struct platform_device *pdev); 395static int w83627hf_probe(struct platform_device *pdev);
396static int __devexit w83627hf_remove(struct platform_device *pdev); 396static int w83627hf_remove(struct platform_device *pdev);
397 397
398static int w83627hf_read_value(struct w83627hf_data *data, u16 reg); 398static int w83627hf_read_value(struct w83627hf_data *data, u16 reg);
399static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value); 399static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value);
@@ -1508,7 +1508,7 @@ static int w83627hf_probe(struct platform_device *pdev)
1508 return err; 1508 return err;
1509} 1509}
1510 1510
1511static int __devexit w83627hf_remove(struct platform_device *pdev) 1511static int w83627hf_remove(struct platform_device *pdev)
1512{ 1512{
1513 struct w83627hf_data *data = platform_get_drvdata(pdev); 1513 struct w83627hf_data *data = platform_get_drvdata(pdev);
1514 1514
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c
index 54674a51960..93bd2863959 100644
--- a/drivers/hwmon/w83781d.c
+++ b/drivers/hwmon/w83781d.c
@@ -1824,7 +1824,7 @@ w83781d_isa_probe(struct platform_device *pdev)
1824 return err; 1824 return err;
1825} 1825}
1826 1826
1827static int __devexit 1827static int
1828w83781d_isa_remove(struct platform_device *pdev) 1828w83781d_isa_remove(struct platform_device *pdev)
1829{ 1829{
1830 struct w83781d_data *data = platform_get_drvdata(pdev); 1830 struct w83781d_data *data = platform_get_drvdata(pdev);
diff --git a/drivers/hwmon/wm831x-hwmon.c b/drivers/hwmon/wm831x-hwmon.c
index 81e71663ba4..df6ceaf8d58 100644
--- a/drivers/hwmon/wm831x-hwmon.c
+++ b/drivers/hwmon/wm831x-hwmon.c
@@ -189,7 +189,7 @@ err_sysfs:
189 return ret; 189 return ret;
190} 190}
191 191
192static int __devexit wm831x_hwmon_remove(struct platform_device *pdev) 192static int wm831x_hwmon_remove(struct platform_device *pdev)
193{ 193{
194 struct wm831x_hwmon *hwmon = platform_get_drvdata(pdev); 194 struct wm831x_hwmon *hwmon = platform_get_drvdata(pdev);
195 195
diff --git a/drivers/hwmon/wm8350-hwmon.c b/drivers/hwmon/wm8350-hwmon.c
index 1fd641789d0..64bf75c9442 100644
--- a/drivers/hwmon/wm8350-hwmon.c
+++ b/drivers/hwmon/wm8350-hwmon.c
@@ -114,7 +114,7 @@ err:
114 return ret; 114 return ret;
115} 115}
116 116
117static int __devexit wm8350_hwmon_remove(struct platform_device *pdev) 117static int wm8350_hwmon_remove(struct platform_device *pdev)
118{ 118{
119 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 119 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
120 120