aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/power/88pm860x_battery.c2
-rw-r--r--drivers/power/88pm860x_charger.c2
-rw-r--r--drivers/power/ab8500_btemp.c2
-rw-r--r--drivers/power/ab8500_charger.c2
-rw-r--r--drivers/power/ab8500_fg.c2
-rw-r--r--drivers/power/abx500_chargalg.c2
-rw-r--r--drivers/power/avs/smartreflex.c4
-rw-r--r--drivers/power/bq27x00_battery.c2
-rw-r--r--drivers/power/charger-manager.c2
-rw-r--r--drivers/power/collie_battery.c2
-rw-r--r--drivers/power/da9052-battery.c2
-rw-r--r--drivers/power/ds2780_battery.c2
-rw-r--r--drivers/power/ds2781_battery.c2
-rw-r--r--drivers/power/generic-adc-battery.c2
-rw-r--r--drivers/power/gpio-charger.c2
-rw-r--r--drivers/power/intel_mid_battery.c2
-rw-r--r--drivers/power/isp1704_charger.c2
-rw-r--r--drivers/power/jz4740-battery.c2
-rw-r--r--drivers/power/lp8727_charger.c2
-rw-r--r--drivers/power/lp8788-charger.c2
-rw-r--r--drivers/power/max17040_battery.c2
-rw-r--r--drivers/power/max17042_battery.c2
-rw-r--r--drivers/power/max8903_charger.c2
-rw-r--r--drivers/power/max8925_power.c4
-rw-r--r--drivers/power/max8997_charger.c2
-rw-r--r--drivers/power/max8998_charger.c2
-rw-r--r--drivers/power/olpc_battery.c2
-rw-r--r--drivers/power/pcf50633-charger.c2
-rw-r--r--drivers/power/sbs-battery.c2
-rw-r--r--drivers/power/tosa_battery.c2
-rw-r--r--drivers/power/wm831x_backup.c2
-rw-r--r--drivers/power/wm831x_power.c2
-rw-r--r--drivers/power/wm8350_power.c2
-rw-r--r--drivers/power/wm97xx_battery.c2
-rw-r--r--drivers/power/z2_battery.c2
35 files changed, 37 insertions, 37 deletions
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c
index 0a8e09fc2138..8bc80b05c63c 100644
--- a/drivers/power/88pm860x_battery.c
+++ b/drivers/power/88pm860x_battery.c
@@ -989,7 +989,7 @@ out:
989 return ret; 989 return ret;
990} 990}
991 991
992static int __devexit pm860x_battery_remove(struct platform_device *pdev) 992static int pm860x_battery_remove(struct platform_device *pdev)
993{ 993{
994 struct pm860x_battery_info *info = platform_get_drvdata(pdev); 994 struct pm860x_battery_info *info = platform_get_drvdata(pdev);
995 995
diff --git a/drivers/power/88pm860x_charger.c b/drivers/power/88pm860x_charger.c
index 5f034f2c1964..4b37a5af8deb 100644
--- a/drivers/power/88pm860x_charger.c
+++ b/drivers/power/88pm860x_charger.c
@@ -718,7 +718,7 @@ out:
718 return ret; 718 return ret;
719} 719}
720 720
721static int __devexit pm860x_charger_remove(struct platform_device *pdev) 721static int pm860x_charger_remove(struct platform_device *pdev)
722{ 722{
723 struct pm860x_charger_info *info = platform_get_drvdata(pdev); 723 struct pm860x_charger_info *info = platform_get_drvdata(pdev);
724 int i; 724 int i;
diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c
index 87a7c972a909..989b09950aff 100644
--- a/drivers/power/ab8500_btemp.c
+++ b/drivers/power/ab8500_btemp.c
@@ -938,7 +938,7 @@ static int ab8500_btemp_suspend(struct platform_device *pdev,
938#define ab8500_btemp_resume NULL 938#define ab8500_btemp_resume NULL
939#endif 939#endif
940 940
941static int __devexit ab8500_btemp_remove(struct platform_device *pdev) 941static int ab8500_btemp_remove(struct platform_device *pdev)
942{ 942{
943 struct ab8500_btemp *di = platform_get_drvdata(pdev); 943 struct ab8500_btemp *di = platform_get_drvdata(pdev);
944 int i, irq; 944 int i, irq;
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c
index b19149b540ee..7ecb8abe20b5 100644
--- a/drivers/power/ab8500_charger.c
+++ b/drivers/power/ab8500_charger.c
@@ -2490,7 +2490,7 @@ static int ab8500_charger_suspend(struct platform_device *pdev,
2490#define ab8500_charger_resume NULL 2490#define ab8500_charger_resume NULL
2491#endif 2491#endif
2492 2492
2493static int __devexit ab8500_charger_remove(struct platform_device *pdev) 2493static int ab8500_charger_remove(struct platform_device *pdev)
2494{ 2494{
2495 struct ab8500_charger *di = platform_get_drvdata(pdev); 2495 struct ab8500_charger *di = platform_get_drvdata(pdev);
2496 int i, irq, ret; 2496 int i, irq, ret;
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index b3598b86bbe0..331dc43ded4e 100644
--- a/drivers/power/ab8500_fg.c
+++ b/drivers/power/ab8500_fg.c
@@ -2411,7 +2411,7 @@ static int ab8500_fg_suspend(struct platform_device *pdev,
2411#define ab8500_fg_resume NULL 2411#define ab8500_fg_resume NULL
2412#endif 2412#endif
2413 2413
2414static int __devexit ab8500_fg_remove(struct platform_device *pdev) 2414static int ab8500_fg_remove(struct platform_device *pdev)
2415{ 2415{
2416 int ret = 0; 2416 int ret = 0;
2417 struct ab8500_fg *di = platform_get_drvdata(pdev); 2417 struct ab8500_fg *di = platform_get_drvdata(pdev);
diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c
index 44a5fdac970f..19f254190790 100644
--- a/drivers/power/abx500_chargalg.c
+++ b/drivers/power/abx500_chargalg.c
@@ -1782,7 +1782,7 @@ static int abx500_chargalg_suspend(struct platform_device *pdev,
1782#define abx500_chargalg_resume NULL 1782#define abx500_chargalg_resume NULL
1783#endif 1783#endif
1784 1784
1785static int __devexit abx500_chargalg_remove(struct platform_device *pdev) 1785static int abx500_chargalg_remove(struct platform_device *pdev)
1786{ 1786{
1787 struct abx500_chargalg *di = platform_get_drvdata(pdev); 1787 struct abx500_chargalg *di = platform_get_drvdata(pdev);
1788 1788
diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c
index c7d441710423..d0fed2c5cf2c 100644
--- a/drivers/power/avs/smartreflex.c
+++ b/drivers/power/avs/smartreflex.c
@@ -1026,7 +1026,7 @@ err_free_devinfo:
1026 return ret; 1026 return ret;
1027} 1027}
1028 1028
1029static int __devexit omap_sr_remove(struct platform_device *pdev) 1029static int omap_sr_remove(struct platform_device *pdev)
1030{ 1030{
1031 struct omap_sr_data *pdata = pdev->dev.platform_data; 1031 struct omap_sr_data *pdata = pdev->dev.platform_data;
1032 struct omap_sr *sr_info; 1032 struct omap_sr *sr_info;
@@ -1059,7 +1059,7 @@ static int __devexit omap_sr_remove(struct platform_device *pdev)
1059 return 0; 1059 return 0;
1060} 1060}
1061 1061
1062static void __devexit omap_sr_shutdown(struct platform_device *pdev) 1062static void omap_sr_shutdown(struct platform_device *pdev)
1063{ 1063{
1064 struct omap_sr_data *pdata = pdev->dev.platform_data; 1064 struct omap_sr_data *pdata = pdev->dev.platform_data;
1065 struct omap_sr *sr_info; 1065 struct omap_sr *sr_info;
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index a256a4c05dc6..e0edaf7de54b 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -969,7 +969,7 @@ err_free:
969 return ret; 969 return ret;
970} 970}
971 971
972static int __devexit bq27000_battery_remove(struct platform_device *pdev) 972static int bq27000_battery_remove(struct platform_device *pdev)
973{ 973{
974 struct bq27x00_device_info *di = platform_get_drvdata(pdev); 974 struct bq27x00_device_info *di = platform_get_drvdata(pdev);
975 975
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c
index 5a1cc0a88483..adb3a4b59cb3 100644
--- a/drivers/power/charger-manager.c
+++ b/drivers/power/charger-manager.c
@@ -1655,7 +1655,7 @@ err_alloc:
1655 return ret; 1655 return ret;
1656} 1656}
1657 1657
1658static int __devexit charger_manager_remove(struct platform_device *pdev) 1658static int charger_manager_remove(struct platform_device *pdev)
1659{ 1659{
1660 struct charger_manager *cm = platform_get_drvdata(pdev); 1660 struct charger_manager *cm = platform_get_drvdata(pdev);
1661 struct charger_desc *desc = cm->desc; 1661 struct charger_desc *desc = cm->desc;
diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c
index d3d80bb84c8f..c58d0e31bdef 100644
--- a/drivers/power/collie_battery.c
+++ b/drivers/power/collie_battery.c
@@ -349,7 +349,7 @@ err_psy_reg_main:
349 return ret; 349 return ret;
350} 350}
351 351
352static void __devexit collie_bat_remove(struct ucb1x00_dev *dev) 352static void collie_bat_remove(struct ucb1x00_dev *dev)
353{ 353{
354 free_irq(gpio_to_irq(COLLIE_GPIO_CO), &collie_bat_main); 354 free_irq(gpio_to_irq(COLLIE_GPIO_CO), &collie_bat_main);
355 355
diff --git a/drivers/power/da9052-battery.c b/drivers/power/da9052-battery.c
index 133829065afb..bb0df8917adc 100644
--- a/drivers/power/da9052-battery.c
+++ b/drivers/power/da9052-battery.c
@@ -630,7 +630,7 @@ err:
630 kfree(bat); 630 kfree(bat);
631 return ret; 631 return ret;
632} 632}
633static int __devexit da9052_bat_remove(struct platform_device *pdev) 633static int da9052_bat_remove(struct platform_device *pdev)
634{ 634{
635 int i; 635 int i;
636 int irq; 636 int irq;
diff --git a/drivers/power/ds2780_battery.c b/drivers/power/ds2780_battery.c
index 42024f854213..8b6c4539e7f4 100644
--- a/drivers/power/ds2780_battery.c
+++ b/drivers/power/ds2780_battery.c
@@ -819,7 +819,7 @@ fail:
819 return ret; 819 return ret;
820} 820}
821 821
822static int __devexit ds2780_battery_remove(struct platform_device *pdev) 822static int ds2780_battery_remove(struct platform_device *pdev)
823{ 823{
824 struct ds2780_device_info *dev_info = platform_get_drvdata(pdev); 824 struct ds2780_device_info *dev_info = platform_get_drvdata(pdev);
825 825
diff --git a/drivers/power/ds2781_battery.c b/drivers/power/ds2781_battery.c
index 46821aafe6be..0a5acc6fc6f0 100644
--- a/drivers/power/ds2781_battery.c
+++ b/drivers/power/ds2781_battery.c
@@ -810,7 +810,7 @@ fail:
810 return ret; 810 return ret;
811} 811}
812 812
813static int __devexit ds2781_battery_remove(struct platform_device *pdev) 813static int ds2781_battery_remove(struct platform_device *pdev)
814{ 814{
815 struct ds2781_device_info *dev_info = platform_get_drvdata(pdev); 815 struct ds2781_device_info *dev_info = platform_get_drvdata(pdev);
816 816
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c
index 055dea7a1756..e902b088d52c 100644
--- a/drivers/power/generic-adc-battery.c
+++ b/drivers/power/generic-adc-battery.c
@@ -351,7 +351,7 @@ first_mem_fail:
351 return ret; 351 return ret;
352} 352}
353 353
354static int __devexit gab_remove(struct platform_device *pdev) 354static int gab_remove(struct platform_device *pdev)
355{ 355{
356 int chan; 356 int chan;
357 struct gab *adc_bat = platform_get_drvdata(pdev); 357 struct gab *adc_bat = platform_get_drvdata(pdev);
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c
index cea6e6ae0e84..e3e40a9f3af2 100644
--- a/drivers/power/gpio-charger.c
+++ b/drivers/power/gpio-charger.c
@@ -144,7 +144,7 @@ err_free:
144 return ret; 144 return ret;
145} 145}
146 146
147static int __devexit gpio_charger_remove(struct platform_device *pdev) 147static int gpio_charger_remove(struct platform_device *pdev)
148{ 148{
149 struct gpio_charger *gpio_charger = platform_get_drvdata(pdev); 149 struct gpio_charger *gpio_charger = platform_get_drvdata(pdev);
150 150
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c
index 0eb50b0daf74..18d136b443ee 100644
--- a/drivers/power/intel_mid_battery.c
+++ b/drivers/power/intel_mid_battery.c
@@ -754,7 +754,7 @@ static int platform_pmic_battery_probe(struct platform_device *pdev)
754 * pmic_battery_probe. 754 * pmic_battery_probe.
755 */ 755 */
756 756
757static int __devexit platform_pmic_battery_remove(struct platform_device *pdev) 757static int platform_pmic_battery_remove(struct platform_device *pdev)
758{ 758{
759 struct pmic_power_module_info *pbi = dev_get_drvdata(&pdev->dev); 759 struct pmic_power_module_info *pbi = dev_get_drvdata(&pdev->dev);
760 760
diff --git a/drivers/power/isp1704_charger.c b/drivers/power/isp1704_charger.c
index 3a1b9598d168..176ad59d99f5 100644
--- a/drivers/power/isp1704_charger.c
+++ b/drivers/power/isp1704_charger.c
@@ -484,7 +484,7 @@ fail0:
484 return ret; 484 return ret;
485} 485}
486 486
487static int __devexit isp1704_charger_remove(struct platform_device *pdev) 487static int isp1704_charger_remove(struct platform_device *pdev)
488{ 488{
489 struct isp1704_charger *isp = platform_get_drvdata(pdev); 489 struct isp1704_charger *isp = platform_get_drvdata(pdev);
490 490
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c
index 1f7d2ca0dbd2..74ac69e0687f 100644
--- a/drivers/power/jz4740-battery.c
+++ b/drivers/power/jz4740-battery.c
@@ -376,7 +376,7 @@ err_free:
376 return ret; 376 return ret;
377} 377}
378 378
379static int __devexit jz_battery_remove(struct platform_device *pdev) 379static int jz_battery_remove(struct platform_device *pdev)
380{ 380{
381 struct jz_battery *jz_battery = platform_get_drvdata(pdev); 381 struct jz_battery *jz_battery = platform_get_drvdata(pdev);
382 382
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index c6ba2ff215de..4ee71a90e248 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -522,7 +522,7 @@ static int lp8727_probe(struct i2c_client *cl, const struct i2c_device_id *id)
522 return 0; 522 return 0;
523} 523}
524 524
525static int __devexit lp8727_remove(struct i2c_client *cl) 525static int lp8727_remove(struct i2c_client *cl)
526{ 526{
527 struct lp8727_chg *pchg = i2c_get_clientdata(cl); 527 struct lp8727_chg *pchg = i2c_get_clientdata(cl);
528 528
diff --git a/drivers/power/lp8788-charger.c b/drivers/power/lp8788-charger.c
index 3bdb4be8db2b..a1c51ac117fd 100644
--- a/drivers/power/lp8788-charger.c
+++ b/drivers/power/lp8788-charger.c
@@ -766,7 +766,7 @@ static int lp8788_charger_probe(struct platform_device *pdev)
766 return 0; 766 return 0;
767} 767}
768 768
769static int __devexit lp8788_charger_remove(struct platform_device *pdev) 769static int lp8788_charger_remove(struct platform_device *pdev)
770{ 770{
771 struct lp8788_charger *pchg = platform_get_drvdata(pdev); 771 struct lp8788_charger *pchg = platform_get_drvdata(pdev);
772 772
diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c
index ae10a21ed70c..22cfe9cc4727 100644
--- a/drivers/power/max17040_battery.c
+++ b/drivers/power/max17040_battery.c
@@ -238,7 +238,7 @@ static int max17040_probe(struct i2c_client *client,
238 return 0; 238 return 0;
239} 239}
240 240
241static int __devexit max17040_remove(struct i2c_client *client) 241static int max17040_remove(struct i2c_client *client)
242{ 242{
243 struct max17040_chip *chip = i2c_get_clientdata(client); 243 struct max17040_chip *chip = i2c_get_clientdata(client);
244 244
diff --git a/drivers/power/max17042_battery.c b/drivers/power/max17042_battery.c
index 8752bc01a9ea..5ffe46916f0b 100644
--- a/drivers/power/max17042_battery.c
+++ b/drivers/power/max17042_battery.c
@@ -775,7 +775,7 @@ static int max17042_probe(struct i2c_client *client,
775 return 0; 775 return 0;
776} 776}
777 777
778static int __devexit max17042_remove(struct i2c_client *client) 778static int max17042_remove(struct i2c_client *client)
779{ 779{
780 struct max17042_chip *chip = i2c_get_clientdata(client); 780 struct max17042_chip *chip = i2c_get_clientdata(client);
781 781
diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c
index 83272c51f6a5..14e2b96d93b0 100644
--- a/drivers/power/max8903_charger.c
+++ b/drivers/power/max8903_charger.c
@@ -345,7 +345,7 @@ err:
345 return ret; 345 return ret;
346} 346}
347 347
348static __devexit int max8903_remove(struct platform_device *pdev) 348static int max8903_remove(struct platform_device *pdev)
349{ 349{
350 struct max8903_data *data = platform_get_drvdata(pdev); 350 struct max8903_data *data = platform_get_drvdata(pdev);
351 351
diff --git a/drivers/power/max8925_power.c b/drivers/power/max8925_power.c
index 7b8191b08a46..1a075f1f1b67 100644
--- a/drivers/power/max8925_power.c
+++ b/drivers/power/max8925_power.c
@@ -414,7 +414,7 @@ static int max8925_init_charger(struct max8925_chip *chip,
414 return 0; 414 return 0;
415} 415}
416 416
417static __devexit int max8925_deinit_charger(struct max8925_power_info *info) 417static int max8925_deinit_charger(struct max8925_power_info *info)
418{ 418{
419 struct max8925_chip *chip = info->chip; 419 struct max8925_chip *chip = info->chip;
420 int irq; 420 int irq;
@@ -501,7 +501,7 @@ out:
501 return ret; 501 return ret;
502} 502}
503 503
504static __devexit int max8925_power_remove(struct platform_device *pdev) 504static int max8925_power_remove(struct platform_device *pdev)
505{ 505{
506 struct max8925_power_info *info = platform_get_drvdata(pdev); 506 struct max8925_power_info *info = platform_get_drvdata(pdev);
507 507
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index c6767dfd4c41..e757885b620c 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -167,7 +167,7 @@ err:
167 return ret; 167 return ret;
168} 168}
169 169
170static int __devexit max8997_battery_remove(struct platform_device *pdev) 170static int max8997_battery_remove(struct platform_device *pdev)
171{ 171{
172 struct charger_data *charger = platform_get_drvdata(pdev); 172 struct charger_data *charger = platform_get_drvdata(pdev);
173 173
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c
index 9f34c80f358c..bf677e3daec9 100644
--- a/drivers/power/max8998_charger.c
+++ b/drivers/power/max8998_charger.c
@@ -178,7 +178,7 @@ err:
178 return ret; 178 return ret;
179} 179}
180 180
181static int __devexit max8998_battery_remove(struct platform_device *pdev) 181static int max8998_battery_remove(struct platform_device *pdev)
182{ 182{
183 struct max8998_battery_data *max8998 = platform_get_drvdata(pdev); 183 struct max8998_battery_data *max8998 = platform_get_drvdata(pdev);
184 184
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c
index 60d5449a9960..298c47d111b4 100644
--- a/drivers/power/olpc_battery.c
+++ b/drivers/power/olpc_battery.c
@@ -659,7 +659,7 @@ battery_failed:
659 return ret; 659 return ret;
660} 660}
661 661
662static int __devexit olpc_battery_remove(struct platform_device *pdev) 662static int olpc_battery_remove(struct platform_device *pdev)
663{ 663{
664 device_remove_file(olpc_bat.dev, &olpc_bat_error); 664 device_remove_file(olpc_bat.dev, &olpc_bat_error);
665 device_remove_bin_file(olpc_bat.dev, &olpc_bat_eeprom); 665 device_remove_bin_file(olpc_bat.dev, &olpc_bat_eeprom);
diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c
index c0ba4ecb1943..c2122a7ad065 100644
--- a/drivers/power/pcf50633-charger.c
+++ b/drivers/power/pcf50633-charger.c
@@ -447,7 +447,7 @@ static int pcf50633_mbc_probe(struct platform_device *pdev)
447 return 0; 447 return 0;
448} 448}
449 449
450static int __devexit pcf50633_mbc_remove(struct platform_device *pdev) 450static int pcf50633_mbc_remove(struct platform_device *pdev)
451{ 451{
452 struct pcf50633_mbc *mbc = platform_get_drvdata(pdev); 452 struct pcf50633_mbc *mbc = platform_get_drvdata(pdev);
453 int i; 453 int i;
diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c
index 30280c5b1fb7..3960f0b2afe9 100644
--- a/drivers/power/sbs-battery.c
+++ b/drivers/power/sbs-battery.c
@@ -800,7 +800,7 @@ exit_free_name:
800 return rc; 800 return rc;
801} 801}
802 802
803static int __devexit sbs_remove(struct i2c_client *client) 803static int sbs_remove(struct i2c_client *client)
804{ 804{
805 struct sbs_info *chip = i2c_get_clientdata(client); 805 struct sbs_info *chip = i2c_get_clientdata(client);
806 806
diff --git a/drivers/power/tosa_battery.c b/drivers/power/tosa_battery.c
index d958c9f6d524..0224de50c540 100644
--- a/drivers/power/tosa_battery.c
+++ b/drivers/power/tosa_battery.c
@@ -409,7 +409,7 @@ err_psy_reg_main:
409 return ret; 409 return ret;
410} 410}
411 411
412static int __devexit tosa_bat_remove(struct platform_device *dev) 412static int tosa_bat_remove(struct platform_device *dev)
413{ 413{
414 free_irq(gpio_to_irq(TOSA_GPIO_JACKET_DETECT), &tosa_bat_jacket); 414 free_irq(gpio_to_irq(TOSA_GPIO_JACKET_DETECT), &tosa_bat_jacket);
415 free_irq(gpio_to_irq(TOSA_GPIO_BAT1_CRG), &tosa_bat_jacket); 415 free_irq(gpio_to_irq(TOSA_GPIO_BAT1_CRG), &tosa_bat_jacket);
diff --git a/drivers/power/wm831x_backup.c b/drivers/power/wm831x_backup.c
index ef3b81788752..d9cc169f1424 100644
--- a/drivers/power/wm831x_backup.c
+++ b/drivers/power/wm831x_backup.c
@@ -207,7 +207,7 @@ err_kmalloc:
207 return ret; 207 return ret;
208} 208}
209 209
210static __devexit int wm831x_backup_remove(struct platform_device *pdev) 210static int wm831x_backup_remove(struct platform_device *pdev)
211{ 211{
212 struct wm831x_backup *devdata = platform_get_drvdata(pdev); 212 struct wm831x_backup *devdata = platform_get_drvdata(pdev);
213 213
diff --git a/drivers/power/wm831x_power.c b/drivers/power/wm831x_power.c
index d21af8a01af3..3bed2f55cf7d 100644
--- a/drivers/power/wm831x_power.c
+++ b/drivers/power/wm831x_power.c
@@ -625,7 +625,7 @@ err_kmalloc:
625 return ret; 625 return ret;
626} 626}
627 627
628static __devexit int wm831x_power_remove(struct platform_device *pdev) 628static int wm831x_power_remove(struct platform_device *pdev)
629{ 629{
630 struct wm831x_power *wm831x_power = platform_get_drvdata(pdev); 630 struct wm831x_power *wm831x_power = platform_get_drvdata(pdev);
631 struct wm831x *wm831x = wm831x_power->wm831x; 631 struct wm831x *wm831x = wm831x_power->wm831x;
diff --git a/drivers/power/wm8350_power.c b/drivers/power/wm8350_power.c
index 6acb63a41a2d..b3607e2906d2 100644
--- a/drivers/power/wm8350_power.c
+++ b/drivers/power/wm8350_power.c
@@ -501,7 +501,7 @@ battery_failed:
501 return ret; 501 return ret;
502} 502}
503 503
504static __devexit int wm8350_power_remove(struct platform_device *pdev) 504static int wm8350_power_remove(struct platform_device *pdev)
505{ 505{
506 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 506 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
507 struct wm8350_power *power = &wm8350->power; 507 struct wm8350_power *power = &wm8350->power;
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c
index 4b3f7634fd30..58f7348e6c22 100644
--- a/drivers/power/wm97xx_battery.c
+++ b/drivers/power/wm97xx_battery.c
@@ -263,7 +263,7 @@ err:
263 return ret; 263 return ret;
264} 264}
265 265
266static int __devexit wm97xx_bat_remove(struct platform_device *dev) 266static int wm97xx_bat_remove(struct platform_device *dev)
267{ 267{
268 struct wm97xx_pdata *wmdata = dev->dev.platform_data; 268 struct wm97xx_pdata *wmdata = dev->dev.platform_data;
269 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; 269 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c
index ebf16296aca3..814d2e31f0c9 100644
--- a/drivers/power/z2_battery.c
+++ b/drivers/power/z2_battery.c
@@ -251,7 +251,7 @@ err:
251 return ret; 251 return ret;
252} 252}
253 253
254static int __devexit z2_batt_remove(struct i2c_client *client) 254static int z2_batt_remove(struct i2c_client *client)
255{ 255{
256 struct z2_charger *charger = i2c_get_clientdata(client); 256 struct z2_charger *charger = i2c_get_clientdata(client);
257 struct z2_battery_info *info = charger->info; 257 struct z2_battery_info *info = charger->info;