aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:20:40 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 14:43:22 -0500
commit28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (patch)
tree36940d50c00ec43a6d7dafc8fd27429601168fb7
parente533a349c0258f38a67afa1c2402a12f46227049 (diff)
power: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Anton Vorontsov <cbou@mail.ru> Cc: David Woodhouse <dwmw2@infradead.org> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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.c2
-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/smb347-charger.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
36 files changed, 37 insertions, 37 deletions
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c
index beed5ecf75e1..ebf7bb5c57ed 100644
--- a/drivers/power/88pm860x_battery.c
+++ b/drivers/power/88pm860x_battery.c
@@ -1033,7 +1033,7 @@ static struct platform_driver pm860x_battery_driver = {
1033 .pm = &pm860x_battery_pm_ops, 1033 .pm = &pm860x_battery_pm_ops,
1034 }, 1034 },
1035 .probe = pm860x_battery_probe, 1035 .probe = pm860x_battery_probe,
1036 .remove = __devexit_p(pm860x_battery_remove), 1036 .remove = pm860x_battery_remove,
1037}; 1037};
1038module_platform_driver(pm860x_battery_driver); 1038module_platform_driver(pm860x_battery_driver);
1039 1039
diff --git a/drivers/power/88pm860x_charger.c b/drivers/power/88pm860x_charger.c
index 2dbeb1460901..fc051732e5dc 100644
--- a/drivers/power/88pm860x_charger.c
+++ b/drivers/power/88pm860x_charger.c
@@ -738,7 +738,7 @@ static struct platform_driver pm860x_charger_driver = {
738 .owner = THIS_MODULE, 738 .owner = THIS_MODULE,
739 }, 739 },
740 .probe = pm860x_charger_probe, 740 .probe = pm860x_charger_probe,
741 .remove = __devexit_p(pm860x_charger_remove), 741 .remove = pm860x_charger_remove,
742}; 742};
743module_platform_driver(pm860x_charger_driver); 743module_platform_driver(pm860x_charger_driver);
744 744
diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c
index e3b6395b20dd..61867095d440 100644
--- a/drivers/power/ab8500_btemp.c
+++ b/drivers/power/ab8500_btemp.c
@@ -1101,7 +1101,7 @@ free_device_info:
1101 1101
1102static struct platform_driver ab8500_btemp_driver = { 1102static struct platform_driver ab8500_btemp_driver = {
1103 .probe = ab8500_btemp_probe, 1103 .probe = ab8500_btemp_probe,
1104 .remove = __devexit_p(ab8500_btemp_remove), 1104 .remove = ab8500_btemp_remove,
1105 .suspend = ab8500_btemp_suspend, 1105 .suspend = ab8500_btemp_suspend,
1106 .resume = ab8500_btemp_resume, 1106 .resume = ab8500_btemp_resume,
1107 .driver = { 1107 .driver = {
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c
index 26ff759e2220..fe36df2680a3 100644
--- a/drivers/power/ab8500_charger.c
+++ b/drivers/power/ab8500_charger.c
@@ -2765,7 +2765,7 @@ free_device_info:
2765 2765
2766static struct platform_driver ab8500_charger_driver = { 2766static struct platform_driver ab8500_charger_driver = {
2767 .probe = ab8500_charger_probe, 2767 .probe = ab8500_charger_probe,
2768 .remove = __devexit_p(ab8500_charger_remove), 2768 .remove = ab8500_charger_remove,
2769 .suspend = ab8500_charger_suspend, 2769 .suspend = ab8500_charger_suspend,
2770 .resume = ab8500_charger_resume, 2770 .resume = ab8500_charger_resume,
2771 .driver = { 2771 .driver = {
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index 2db8cc254399..ff2f09c0c128 100644
--- a/drivers/power/ab8500_fg.c
+++ b/drivers/power/ab8500_fg.c
@@ -2614,7 +2614,7 @@ free_device_info:
2614 2614
2615static struct platform_driver ab8500_fg_driver = { 2615static struct platform_driver ab8500_fg_driver = {
2616 .probe = ab8500_fg_probe, 2616 .probe = ab8500_fg_probe,
2617 .remove = __devexit_p(ab8500_fg_remove), 2617 .remove = ab8500_fg_remove,
2618 .suspend = ab8500_fg_suspend, 2618 .suspend = ab8500_fg_suspend,
2619 .resume = ab8500_fg_resume, 2619 .resume = ab8500_fg_resume,
2620 .driver = { 2620 .driver = {
diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c
index 4d302803ffcc..6ed6b88f1fa8 100644
--- a/drivers/power/abx500_chargalg.c
+++ b/drivers/power/abx500_chargalg.c
@@ -1893,7 +1893,7 @@ free_device_info:
1893 1893
1894static struct platform_driver abx500_chargalg_driver = { 1894static struct platform_driver abx500_chargalg_driver = {
1895 .probe = abx500_chargalg_probe, 1895 .probe = abx500_chargalg_probe,
1896 .remove = __devexit_p(abx500_chargalg_remove), 1896 .remove = abx500_chargalg_remove,
1897 .suspend = abx500_chargalg_suspend, 1897 .suspend = abx500_chargalg_suspend,
1898 .resume = abx500_chargalg_resume, 1898 .resume = abx500_chargalg_resume,
1899 .driver = { 1899 .driver = {
diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c
index 24768a27e1d8..c7d441710423 100644
--- a/drivers/power/avs/smartreflex.c
+++ b/drivers/power/avs/smartreflex.c
@@ -1083,8 +1083,8 @@ static void __devexit omap_sr_shutdown(struct platform_device *pdev)
1083} 1083}
1084 1084
1085static struct platform_driver smartreflex_driver = { 1085static struct platform_driver smartreflex_driver = {
1086 .remove = __devexit_p(omap_sr_remove), 1086 .remove = omap_sr_remove,
1087 .shutdown = __devexit_p(omap_sr_shutdown), 1087 .shutdown = omap_sr_shutdown,
1088 .driver = { 1088 .driver = {
1089 .name = "smartreflex", 1089 .name = "smartreflex",
1090 }, 1090 },
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index 5860d4dfbe9c..8faeb40cf78f 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -983,7 +983,7 @@ static int __devexit bq27000_battery_remove(struct platform_device *pdev)
983 983
984static struct platform_driver bq27000_battery_driver = { 984static struct platform_driver bq27000_battery_driver = {
985 .probe = bq27000_battery_probe, 985 .probe = bq27000_battery_probe,
986 .remove = __devexit_p(bq27000_battery_remove), 986 .remove = bq27000_battery_remove,
987 .driver = { 987 .driver = {
988 .name = "bq27000-battery", 988 .name = "bq27000-battery",
989 .owner = THIS_MODULE, 989 .owner = THIS_MODULE,
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c
index 8a0aca6364c7..5a1cc0a88483 100644
--- a/drivers/power/charger-manager.c
+++ b/drivers/power/charger-manager.c
@@ -1812,7 +1812,7 @@ static struct platform_driver charger_manager_driver = {
1812 .pm = &charger_manager_pm, 1812 .pm = &charger_manager_pm,
1813 }, 1813 },
1814 .probe = charger_manager_probe, 1814 .probe = charger_manager_probe,
1815 .remove = __devexit_p(charger_manager_remove), 1815 .remove = charger_manager_remove,
1816 .id_table = charger_manager_id, 1816 .id_table = charger_manager_id,
1817}; 1817};
1818 1818
diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c
index b19bfe400f8c..cd9ef5103d07 100644
--- a/drivers/power/collie_battery.c
+++ b/drivers/power/collie_battery.c
@@ -367,7 +367,7 @@ static void __devexit collie_bat_remove(struct ucb1x00_dev *dev)
367 367
368static struct ucb1x00_driver collie_bat_driver = { 368static struct ucb1x00_driver collie_bat_driver = {
369 .add = collie_bat_probe, 369 .add = collie_bat_probe,
370 .remove = __devexit_p(collie_bat_remove), 370 .remove = collie_bat_remove,
371 .suspend = collie_bat_suspend, 371 .suspend = collie_bat_suspend,
372 .resume = collie_bat_resume, 372 .resume = collie_bat_resume,
373}; 373};
diff --git a/drivers/power/da9052-battery.c b/drivers/power/da9052-battery.c
index d9d034d7496f..753d4ba483f7 100644
--- a/drivers/power/da9052-battery.c
+++ b/drivers/power/da9052-battery.c
@@ -648,7 +648,7 @@ static int __devexit da9052_bat_remove(struct platform_device *pdev)
648 648
649static struct platform_driver da9052_bat_driver = { 649static struct platform_driver da9052_bat_driver = {
650 .probe = da9052_bat_probe, 650 .probe = da9052_bat_probe,
651 .remove = __devexit_p(da9052_bat_remove), 651 .remove = da9052_bat_remove,
652 .driver = { 652 .driver = {
653 .name = "da9052-bat", 653 .name = "da9052-bat",
654 .owner = THIS_MODULE, 654 .owner = THIS_MODULE,
diff --git a/drivers/power/ds2780_battery.c b/drivers/power/ds2780_battery.c
index 74fad941c56c..2154822e9c86 100644
--- a/drivers/power/ds2780_battery.c
+++ b/drivers/power/ds2780_battery.c
@@ -837,7 +837,7 @@ static struct platform_driver ds2780_battery_driver = {
837 .name = "ds2780-battery", 837 .name = "ds2780-battery",
838 }, 838 },
839 .probe = ds2780_battery_probe, 839 .probe = ds2780_battery_probe,
840 .remove = __devexit_p(ds2780_battery_remove), 840 .remove = ds2780_battery_remove,
841}; 841};
842 842
843module_platform_driver(ds2780_battery_driver); 843module_platform_driver(ds2780_battery_driver);
diff --git a/drivers/power/ds2781_battery.c b/drivers/power/ds2781_battery.c
index 22b3c8c93552..ce1200914b89 100644
--- a/drivers/power/ds2781_battery.c
+++ b/drivers/power/ds2781_battery.c
@@ -827,7 +827,7 @@ static struct platform_driver ds2781_battery_driver = {
827 .name = "ds2781-battery", 827 .name = "ds2781-battery",
828 }, 828 },
829 .probe = ds2781_battery_probe, 829 .probe = ds2781_battery_probe,
830 .remove = __devexit_p(ds2781_battery_remove), 830 .remove = ds2781_battery_remove,
831}; 831};
832module_platform_driver(ds2781_battery_driver); 832module_platform_driver(ds2781_battery_driver);
833 833
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c
index 9bdf44470396..60a0f29a9ac9 100644
--- a/drivers/power/generic-adc-battery.c
+++ b/drivers/power/generic-adc-battery.c
@@ -413,7 +413,7 @@ static struct platform_driver gab_driver = {
413 .pm = GAB_PM_OPS 413 .pm = GAB_PM_OPS
414 }, 414 },
415 .probe = gab_probe, 415 .probe = gab_probe,
416 .remove = __devexit_p(gab_remove), 416 .remove = gab_remove,
417}; 417};
418module_platform_driver(gab_driver); 418module_platform_driver(gab_driver);
419 419
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c
index cb2aa3195687..e74fb2fbdb2c 100644
--- a/drivers/power/gpio-charger.c
+++ b/drivers/power/gpio-charger.c
@@ -177,7 +177,7 @@ static SIMPLE_DEV_PM_OPS(gpio_charger_pm_ops, NULL, gpio_charger_resume);
177 177
178static struct platform_driver gpio_charger_driver = { 178static struct platform_driver gpio_charger_driver = {
179 .probe = gpio_charger_probe, 179 .probe = gpio_charger_probe,
180 .remove = __devexit_p(gpio_charger_remove), 180 .remove = gpio_charger_remove,
181 .driver = { 181 .driver = {
182 .name = "gpio-charger", 182 .name = "gpio-charger",
183 .owner = THIS_MODULE, 183 .owner = THIS_MODULE,
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c
index d09649706bd3..8ba1c67af60e 100644
--- a/drivers/power/intel_mid_battery.c
+++ b/drivers/power/intel_mid_battery.c
@@ -776,7 +776,7 @@ static struct platform_driver platform_pmic_battery_driver = {
776 .owner = THIS_MODULE, 776 .owner = THIS_MODULE,
777 }, 777 },
778 .probe = platform_pmic_battery_probe, 778 .probe = platform_pmic_battery_probe,
779 .remove = __devexit_p(platform_pmic_battery_remove), 779 .remove = platform_pmic_battery_remove,
780}; 780};
781 781
782module_platform_driver(platform_pmic_battery_driver); 782module_platform_driver(platform_pmic_battery_driver);
diff --git a/drivers/power/isp1704_charger.c b/drivers/power/isp1704_charger.c
index 122911978da2..1f0c5857130b 100644
--- a/drivers/power/isp1704_charger.c
+++ b/drivers/power/isp1704_charger.c
@@ -502,7 +502,7 @@ static struct platform_driver isp1704_charger_driver = {
502 .name = "isp1704_charger", 502 .name = "isp1704_charger",
503 }, 503 },
504 .probe = isp1704_charger_probe, 504 .probe = isp1704_charger_probe,
505 .remove = __devexit_p(isp1704_charger_remove), 505 .remove = isp1704_charger_remove,
506}; 506};
507 507
508module_platform_driver(isp1704_charger_driver); 508module_platform_driver(isp1704_charger_driver);
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c
index ffbed5e5b945..c9abfef66aa1 100644
--- a/drivers/power/jz4740-battery.c
+++ b/drivers/power/jz4740-battery.c
@@ -431,7 +431,7 @@ static const struct dev_pm_ops jz_battery_pm_ops = {
431 431
432static struct platform_driver jz_battery_driver = { 432static struct platform_driver jz_battery_driver = {
433 .probe = jz_battery_probe, 433 .probe = jz_battery_probe,
434 .remove = __devexit_p(jz_battery_remove), 434 .remove = jz_battery_remove,
435 .driver = { 435 .driver = {
436 .name = "jz4740-battery", 436 .name = "jz4740-battery",
437 .owner = THIS_MODULE, 437 .owner = THIS_MODULE,
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index c628224b7f58..c6ba2ff215de 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -542,7 +542,7 @@ static struct i2c_driver lp8727_driver = {
542 .name = "lp8727", 542 .name = "lp8727",
543 }, 543 },
544 .probe = lp8727_probe, 544 .probe = lp8727_probe,
545 .remove = __devexit_p(lp8727_remove), 545 .remove = lp8727_remove,
546 .id_table = lp8727_ids, 546 .id_table = lp8727_ids,
547}; 547};
548module_i2c_driver(lp8727_driver); 548module_i2c_driver(lp8727_driver);
diff --git a/drivers/power/lp8788-charger.c b/drivers/power/lp8788-charger.c
index e852d12cd077..5d743b75f5cf 100644
--- a/drivers/power/lp8788-charger.c
+++ b/drivers/power/lp8788-charger.c
@@ -781,7 +781,7 @@ static int __devexit lp8788_charger_remove(struct platform_device *pdev)
781 781
782static struct platform_driver lp8788_charger_driver = { 782static struct platform_driver lp8788_charger_driver = {
783 .probe = lp8788_charger_probe, 783 .probe = lp8788_charger_probe,
784 .remove = __devexit_p(lp8788_charger_remove), 784 .remove = lp8788_charger_remove,
785 .driver = { 785 .driver = {
786 .name = LP8788_DEV_CHARGER, 786 .name = LP8788_DEV_CHARGER,
787 .owner = THIS_MODULE, 787 .owner = THIS_MODULE,
diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c
index 58e67830143c..fcc712e8aaeb 100644
--- a/drivers/power/max17040_battery.c
+++ b/drivers/power/max17040_battery.c
@@ -285,7 +285,7 @@ static struct i2c_driver max17040_i2c_driver = {
285 .name = "max17040", 285 .name = "max17040",
286 }, 286 },
287 .probe = max17040_probe, 287 .probe = max17040_probe,
288 .remove = __devexit_p(max17040_remove), 288 .remove = max17040_remove,
289 .suspend = max17040_suspend, 289 .suspend = max17040_suspend,
290 .resume = max17040_resume, 290 .resume = max17040_resume,
291 .id_table = max17040_id, 291 .id_table = max17040_id,
diff --git a/drivers/power/max17042_battery.c b/drivers/power/max17042_battery.c
index 74abc6c755b4..0896fec2eecc 100644
--- a/drivers/power/max17042_battery.c
+++ b/drivers/power/max17042_battery.c
@@ -851,7 +851,7 @@ static struct i2c_driver max17042_i2c_driver = {
851 .pm = MAX17042_PM_OPS, 851 .pm = MAX17042_PM_OPS,
852 }, 852 },
853 .probe = max17042_probe, 853 .probe = max17042_probe,
854 .remove = __devexit_p(max17042_remove), 854 .remove = max17042_remove,
855 .id_table = max17042_id, 855 .id_table = max17042_id,
856}; 856};
857module_i2c_driver(max17042_i2c_driver); 857module_i2c_driver(max17042_i2c_driver);
diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c
index 3e23f43e98af..53ab51e8c892 100644
--- a/drivers/power/max8903_charger.c
+++ b/drivers/power/max8903_charger.c
@@ -367,7 +367,7 @@ static __devexit int max8903_remove(struct platform_device *pdev)
367 367
368static struct platform_driver max8903_driver = { 368static struct platform_driver max8903_driver = {
369 .probe = max8903_probe, 369 .probe = max8903_probe,
370 .remove = __devexit_p(max8903_remove), 370 .remove = max8903_remove,
371 .driver = { 371 .driver = {
372 .name = "max8903-charger", 372 .name = "max8903-charger",
373 .owner = THIS_MODULE, 373 .owner = THIS_MODULE,
diff --git a/drivers/power/max8925_power.c b/drivers/power/max8925_power.c
index daa333bd7ebb..872806018d58 100644
--- a/drivers/power/max8925_power.c
+++ b/drivers/power/max8925_power.c
@@ -517,7 +517,7 @@ static __devexit int max8925_power_remove(struct platform_device *pdev)
517 517
518static struct platform_driver max8925_power_driver = { 518static struct platform_driver max8925_power_driver = {
519 .probe = max8925_power_probe, 519 .probe = max8925_power_probe,
520 .remove = __devexit_p(max8925_power_remove), 520 .remove = max8925_power_remove,
521 .driver = { 521 .driver = {
522 .name = "max8925-power", 522 .name = "max8925-power",
523 }, 523 },
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 6e88c5d026b9..19cfd2d12901 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -187,7 +187,7 @@ static struct platform_driver max8997_battery_driver = {
187 .owner = THIS_MODULE, 187 .owner = THIS_MODULE,
188 }, 188 },
189 .probe = max8997_battery_probe, 189 .probe = max8997_battery_probe,
190 .remove = __devexit_p(max8997_battery_remove), 190 .remove = max8997_battery_remove,
191 .id_table = max8997_battery_id, 191 .id_table = max8997_battery_id,
192}; 192};
193 193
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c
index 6dc01c255592..1db13638ef7f 100644
--- a/drivers/power/max8998_charger.c
+++ b/drivers/power/max8998_charger.c
@@ -199,7 +199,7 @@ static struct platform_driver max8998_battery_driver = {
199 .owner = THIS_MODULE, 199 .owner = THIS_MODULE,
200 }, 200 },
201 .probe = max8998_battery_probe, 201 .probe = max8998_battery_probe,
202 .remove = __devexit_p(max8998_battery_remove), 202 .remove = max8998_battery_remove,
203 .id_table = max8998_battery_id, 203 .id_table = max8998_battery_id,
204}; 204};
205 205
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c
index a89a41acf9c5..31479115db73 100644
--- a/drivers/power/olpc_battery.c
+++ b/drivers/power/olpc_battery.c
@@ -681,7 +681,7 @@ static struct platform_driver olpc_battery_driver = {
681 .of_match_table = olpc_battery_ids, 681 .of_match_table = olpc_battery_ids,
682 }, 682 },
683 .probe = olpc_battery_probe, 683 .probe = olpc_battery_probe,
684 .remove = __devexit_p(olpc_battery_remove), 684 .remove = olpc_battery_remove,
685 .suspend = olpc_battery_suspend, 685 .suspend = olpc_battery_suspend,
686}; 686};
687 687
diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c
index 3d1e9efb6f53..81bada0a3692 100644
--- a/drivers/power/pcf50633-charger.c
+++ b/drivers/power/pcf50633-charger.c
@@ -471,7 +471,7 @@ static struct platform_driver pcf50633_mbc_driver = {
471 .name = "pcf50633-mbc", 471 .name = "pcf50633-mbc",
472 }, 472 },
473 .probe = pcf50633_mbc_probe, 473 .probe = pcf50633_mbc_probe,
474 .remove = __devexit_p(pcf50633_mbc_remove), 474 .remove = pcf50633_mbc_remove,
475}; 475};
476 476
477module_platform_driver(pcf50633_mbc_driver); 477module_platform_driver(pcf50633_mbc_driver);
diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c
index 4146596d254b..de57fdd75a8c 100644
--- a/drivers/power/sbs-battery.c
+++ b/drivers/power/sbs-battery.c
@@ -853,7 +853,7 @@ MODULE_DEVICE_TABLE(i2c, sbs_id);
853 853
854static struct i2c_driver sbs_battery_driver = { 854static struct i2c_driver sbs_battery_driver = {
855 .probe = sbs_probe, 855 .probe = sbs_probe,
856 .remove = __devexit_p(sbs_remove), 856 .remove = sbs_remove,
857 .suspend = sbs_suspend, 857 .suspend = sbs_suspend,
858 .resume = sbs_resume, 858 .resume = sbs_resume,
859 .id_table = sbs_id, 859 .id_table = sbs_id,
diff --git a/drivers/power/smb347-charger.c b/drivers/power/smb347-charger.c
index a9707c11fbed..acf84e80fe98 100644
--- a/drivers/power/smb347-charger.c
+++ b/drivers/power/smb347-charger.c
@@ -1313,7 +1313,7 @@ static struct i2c_driver smb347_driver = {
1313 .name = "smb347", 1313 .name = "smb347",
1314 }, 1314 },
1315 .probe = smb347_probe, 1315 .probe = smb347_probe,
1316 .remove = __devexit_p(smb347_remove), 1316 .remove = smb347_remove,
1317 .id_table = smb347_id, 1317 .id_table = smb347_id,
1318}; 1318};
1319 1319
diff --git a/drivers/power/tosa_battery.c b/drivers/power/tosa_battery.c
index 51199b5ce221..9625a765d566 100644
--- a/drivers/power/tosa_battery.c
+++ b/drivers/power/tosa_battery.c
@@ -433,7 +433,7 @@ static struct platform_driver tosa_bat_driver = {
433 .driver.name = "wm97xx-battery", 433 .driver.name = "wm97xx-battery",
434 .driver.owner = THIS_MODULE, 434 .driver.owner = THIS_MODULE,
435 .probe = tosa_bat_probe, 435 .probe = tosa_bat_probe,
436 .remove = __devexit_p(tosa_bat_remove), 436 .remove = tosa_bat_remove,
437 .suspend = tosa_bat_suspend, 437 .suspend = tosa_bat_suspend,
438 .resume = tosa_bat_resume, 438 .resume = tosa_bat_resume,
439}; 439};
diff --git a/drivers/power/wm831x_backup.c b/drivers/power/wm831x_backup.c
index 6243e6975126..6ea6fbd32c20 100644
--- a/drivers/power/wm831x_backup.c
+++ b/drivers/power/wm831x_backup.c
@@ -220,7 +220,7 @@ static __devexit int wm831x_backup_remove(struct platform_device *pdev)
220 220
221static struct platform_driver wm831x_backup_driver = { 221static struct platform_driver wm831x_backup_driver = {
222 .probe = wm831x_backup_probe, 222 .probe = wm831x_backup_probe,
223 .remove = __devexit_p(wm831x_backup_remove), 223 .remove = wm831x_backup_remove,
224 .driver = { 224 .driver = {
225 .name = "wm831x-backup", 225 .name = "wm831x-backup",
226 }, 226 },
diff --git a/drivers/power/wm831x_power.c b/drivers/power/wm831x_power.c
index fc1ad9551182..6b6a678c7c81 100644
--- a/drivers/power/wm831x_power.c
+++ b/drivers/power/wm831x_power.c
@@ -654,7 +654,7 @@ static __devexit int wm831x_power_remove(struct platform_device *pdev)
654 654
655static struct platform_driver wm831x_power_driver = { 655static struct platform_driver wm831x_power_driver = {
656 .probe = wm831x_power_probe, 656 .probe = wm831x_power_probe,
657 .remove = __devexit_p(wm831x_power_remove), 657 .remove = wm831x_power_remove,
658 .driver = { 658 .driver = {
659 .name = "wm831x-power", 659 .name = "wm831x-power",
660 }, 660 },
diff --git a/drivers/power/wm8350_power.c b/drivers/power/wm8350_power.c
index fae04d384657..50d5605f4fd2 100644
--- a/drivers/power/wm8350_power.c
+++ b/drivers/power/wm8350_power.c
@@ -516,7 +516,7 @@ static __devexit int wm8350_power_remove(struct platform_device *pdev)
516 516
517static struct platform_driver wm8350_power_driver = { 517static struct platform_driver wm8350_power_driver = {
518 .probe = wm8350_power_probe, 518 .probe = wm8350_power_probe,
519 .remove = __devexit_p(wm8350_power_remove), 519 .remove = wm8350_power_remove,
520 .driver = { 520 .driver = {
521 .name = "wm8350-power", 521 .name = "wm8350-power",
522 }, 522 },
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c
index e128a813dc24..786d1cd685c3 100644
--- a/drivers/power/wm97xx_battery.c
+++ b/drivers/power/wm97xx_battery.c
@@ -287,7 +287,7 @@ static struct platform_driver wm97xx_bat_driver = {
287#endif 287#endif
288 }, 288 },
289 .probe = wm97xx_bat_probe, 289 .probe = wm97xx_bat_probe,
290 .remove = __devexit_p(wm97xx_bat_remove), 290 .remove = wm97xx_bat_remove,
291}; 291};
292 292
293module_platform_driver(wm97xx_bat_driver); 293module_platform_driver(wm97xx_bat_driver);
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c
index 5757d0d6782f..406dbd3d6bff 100644
--- a/drivers/power/z2_battery.c
+++ b/drivers/power/z2_battery.c
@@ -313,7 +313,7 @@ static struct i2c_driver z2_batt_driver = {
313 .pm = Z2_BATTERY_PM_OPS 313 .pm = Z2_BATTERY_PM_OPS
314 }, 314 },
315 .probe = z2_batt_probe, 315 .probe = z2_batt_probe,
316 .remove = __devexit_p(z2_batt_remove), 316 .remove = z2_batt_remove,
317 .id_table = z2_batt_id, 317 .id_table = z2_batt_id,
318}; 318};
319module_i2c_driver(z2_batt_driver); 319module_i2c_driver(z2_batt_driver);