power: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:40 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 19:43:22 +0000 (11:43 -0800)
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>
36 files changed:
drivers/power/88pm860x_battery.c
drivers/power/88pm860x_charger.c
drivers/power/ab8500_btemp.c
drivers/power/ab8500_charger.c
drivers/power/ab8500_fg.c
drivers/power/abx500_chargalg.c
drivers/power/avs/smartreflex.c
drivers/power/bq27x00_battery.c
drivers/power/charger-manager.c
drivers/power/collie_battery.c
drivers/power/da9052-battery.c
drivers/power/ds2780_battery.c
drivers/power/ds2781_battery.c
drivers/power/generic-adc-battery.c
drivers/power/gpio-charger.c
drivers/power/intel_mid_battery.c
drivers/power/isp1704_charger.c
drivers/power/jz4740-battery.c
drivers/power/lp8727_charger.c
drivers/power/lp8788-charger.c
drivers/power/max17040_battery.c
drivers/power/max17042_battery.c
drivers/power/max8903_charger.c
drivers/power/max8925_power.c
drivers/power/max8997_charger.c
drivers/power/max8998_charger.c
drivers/power/olpc_battery.c
drivers/power/pcf50633-charger.c
drivers/power/sbs-battery.c
drivers/power/smb347-charger.c
drivers/power/tosa_battery.c
drivers/power/wm831x_backup.c
drivers/power/wm831x_power.c
drivers/power/wm8350_power.c
drivers/power/wm97xx_battery.c
drivers/power/z2_battery.c

index beed5ec..ebf7bb5 100644 (file)
@@ -1033,7 +1033,7 @@ static struct platform_driver pm860x_battery_driver = {
                   .pm = &pm860x_battery_pm_ops,
        },
        .probe = pm860x_battery_probe,
-       .remove = __devexit_p(pm860x_battery_remove),
+       .remove = pm860x_battery_remove,
 };
 module_platform_driver(pm860x_battery_driver);
 
index 2dbeb14..fc05173 100644 (file)
@@ -738,7 +738,7 @@ static struct platform_driver pm860x_charger_driver = {
                   .owner = THIS_MODULE,
        },
        .probe = pm860x_charger_probe,
-       .remove = __devexit_p(pm860x_charger_remove),
+       .remove = pm860x_charger_remove,
 };
 module_platform_driver(pm860x_charger_driver);
 
index e3b6395..6186709 100644 (file)
@@ -1101,7 +1101,7 @@ free_device_info:
 
 static struct platform_driver ab8500_btemp_driver = {
        .probe = ab8500_btemp_probe,
-       .remove = __devexit_p(ab8500_btemp_remove),
+       .remove = ab8500_btemp_remove,
        .suspend = ab8500_btemp_suspend,
        .resume = ab8500_btemp_resume,
        .driver = {
index 26ff759..fe36df2 100644 (file)
@@ -2765,7 +2765,7 @@ free_device_info:
 
 static struct platform_driver ab8500_charger_driver = {
        .probe = ab8500_charger_probe,
-       .remove = __devexit_p(ab8500_charger_remove),
+       .remove = ab8500_charger_remove,
        .suspend = ab8500_charger_suspend,
        .resume = ab8500_charger_resume,
        .driver = {
index 2db8cc2..ff2f09c 100644 (file)
@@ -2614,7 +2614,7 @@ free_device_info:
 
 static struct platform_driver ab8500_fg_driver = {
        .probe = ab8500_fg_probe,
-       .remove = __devexit_p(ab8500_fg_remove),
+       .remove = ab8500_fg_remove,
        .suspend = ab8500_fg_suspend,
        .resume = ab8500_fg_resume,
        .driver = {
index 4d30280..6ed6b88 100644 (file)
@@ -1893,7 +1893,7 @@ free_device_info:
 
 static struct platform_driver abx500_chargalg_driver = {
        .probe = abx500_chargalg_probe,
-       .remove = __devexit_p(abx500_chargalg_remove),
+       .remove = abx500_chargalg_remove,
        .suspend = abx500_chargalg_suspend,
        .resume = abx500_chargalg_resume,
        .driver = {
index 24768a2..c7d4417 100644 (file)
@@ -1083,8 +1083,8 @@ static void __devexit omap_sr_shutdown(struct platform_device *pdev)
 }
 
 static struct platform_driver smartreflex_driver = {
-       .remove         = __devexit_p(omap_sr_remove),
-       .shutdown       = __devexit_p(omap_sr_shutdown),
+       .remove         = omap_sr_remove,
+       .shutdown       = omap_sr_shutdown,
        .driver         = {
                .name   = "smartreflex",
        },
index 5860d4d..8faeb40 100644 (file)
@@ -983,7 +983,7 @@ static int __devexit bq27000_battery_remove(struct platform_device *pdev)
 
 static struct platform_driver bq27000_battery_driver = {
        .probe  = bq27000_battery_probe,
-       .remove = __devexit_p(bq27000_battery_remove),
+       .remove = bq27000_battery_remove,
        .driver = {
                .name = "bq27000-battery",
                .owner = THIS_MODULE,
index 8a0aca6..5a1cc0a 100644 (file)
@@ -1812,7 +1812,7 @@ static struct platform_driver charger_manager_driver = {
                .pm = &charger_manager_pm,
        },
        .probe = charger_manager_probe,
-       .remove = __devexit_p(charger_manager_remove),
+       .remove = charger_manager_remove,
        .id_table = charger_manager_id,
 };
 
index b19bfe4..cd9ef51 100644 (file)
@@ -367,7 +367,7 @@ static void __devexit collie_bat_remove(struct ucb1x00_dev *dev)
 
 static struct ucb1x00_driver collie_bat_driver = {
        .add            = collie_bat_probe,
-       .remove         = __devexit_p(collie_bat_remove),
+       .remove         = collie_bat_remove,
        .suspend        = collie_bat_suspend,
        .resume         = collie_bat_resume,
 };
index d9d034d..753d4ba 100644 (file)
@@ -648,7 +648,7 @@ static int __devexit da9052_bat_remove(struct platform_device *pdev)
 
 static struct platform_driver da9052_bat_driver = {
        .probe = da9052_bat_probe,
-       .remove = __devexit_p(da9052_bat_remove),
+       .remove = da9052_bat_remove,
        .driver = {
                .name = "da9052-bat",
                .owner = THIS_MODULE,
index 74fad94..2154822 100644 (file)
@@ -837,7 +837,7 @@ static struct platform_driver ds2780_battery_driver = {
                .name = "ds2780-battery",
        },
        .probe    = ds2780_battery_probe,
-       .remove   = __devexit_p(ds2780_battery_remove),
+       .remove   = ds2780_battery_remove,
 };
 
 module_platform_driver(ds2780_battery_driver);
index 22b3c8c..ce12009 100644 (file)
@@ -827,7 +827,7 @@ static struct platform_driver ds2781_battery_driver = {
                .name = "ds2781-battery",
        },
        .probe    = ds2781_battery_probe,
-       .remove   = __devexit_p(ds2781_battery_remove),
+       .remove   = ds2781_battery_remove,
 };
 module_platform_driver(ds2781_battery_driver);
 
index 9bdf444..60a0f29 100644 (file)
@@ -413,7 +413,7 @@ static struct platform_driver gab_driver = {
                .pm     = GAB_PM_OPS
        },
        .probe          = gab_probe,
-       .remove         = __devexit_p(gab_remove),
+       .remove         = gab_remove,
 };
 module_platform_driver(gab_driver);
 
index cb2aa31..e74fb2f 100644 (file)
@@ -177,7 +177,7 @@ static SIMPLE_DEV_PM_OPS(gpio_charger_pm_ops, NULL, gpio_charger_resume);
 
 static struct platform_driver gpio_charger_driver = {
        .probe = gpio_charger_probe,
-       .remove = __devexit_p(gpio_charger_remove),
+       .remove = gpio_charger_remove,
        .driver = {
                .name = "gpio-charger",
                .owner = THIS_MODULE,
index d096497..8ba1c67 100644 (file)
@@ -776,7 +776,7 @@ static struct platform_driver platform_pmic_battery_driver = {
                .owner = THIS_MODULE,
        },
        .probe = platform_pmic_battery_probe,
-       .remove = __devexit_p(platform_pmic_battery_remove),
+       .remove = platform_pmic_battery_remove,
 };
 
 module_platform_driver(platform_pmic_battery_driver);
index 1229119..1f0c585 100644 (file)
@@ -502,7 +502,7 @@ static struct platform_driver isp1704_charger_driver = {
                .name = "isp1704_charger",
        },
        .probe = isp1704_charger_probe,
-       .remove = __devexit_p(isp1704_charger_remove),
+       .remove = isp1704_charger_remove,
 };
 
 module_platform_driver(isp1704_charger_driver);
index ffbed5e..c9abfef 100644 (file)
@@ -431,7 +431,7 @@ static const struct dev_pm_ops jz_battery_pm_ops = {
 
 static struct platform_driver jz_battery_driver = {
        .probe          = jz_battery_probe,
-       .remove         = __devexit_p(jz_battery_remove),
+       .remove         = jz_battery_remove,
        .driver = {
                .name = "jz4740-battery",
                .owner = THIS_MODULE,
index c628224..c6ba2ff 100644 (file)
@@ -542,7 +542,7 @@ static struct i2c_driver lp8727_driver = {
                   .name = "lp8727",
                   },
        .probe = lp8727_probe,
-       .remove = __devexit_p(lp8727_remove),
+       .remove = lp8727_remove,
        .id_table = lp8727_ids,
 };
 module_i2c_driver(lp8727_driver);
index e852d12..5d743b7 100644 (file)
@@ -781,7 +781,7 @@ static int __devexit lp8788_charger_remove(struct platform_device *pdev)
 
 static struct platform_driver lp8788_charger_driver = {
        .probe = lp8788_charger_probe,
-       .remove = __devexit_p(lp8788_charger_remove),
+       .remove = lp8788_charger_remove,
        .driver = {
                .name = LP8788_DEV_CHARGER,
                .owner = THIS_MODULE,
index 58e6783..fcc712e 100644 (file)
@@ -285,7 +285,7 @@ static struct i2c_driver max17040_i2c_driver = {
                .name   = "max17040",
        },
        .probe          = max17040_probe,
-       .remove         = __devexit_p(max17040_remove),
+       .remove         = max17040_remove,
        .suspend        = max17040_suspend,
        .resume         = max17040_resume,
        .id_table       = max17040_id,
index 74abc6c..0896fec 100644 (file)
@@ -851,7 +851,7 @@ static struct i2c_driver max17042_i2c_driver = {
                .pm     = MAX17042_PM_OPS,
        },
        .probe          = max17042_probe,
-       .remove         = __devexit_p(max17042_remove),
+       .remove         = max17042_remove,
        .id_table       = max17042_id,
 };
 module_i2c_driver(max17042_i2c_driver);
index 3e23f43..53ab51e 100644 (file)
@@ -367,7 +367,7 @@ static __devexit int max8903_remove(struct platform_device *pdev)
 
 static struct platform_driver max8903_driver = {
        .probe  = max8903_probe,
-       .remove = __devexit_p(max8903_remove),
+       .remove = max8903_remove,
        .driver = {
                .name   = "max8903-charger",
                .owner  = THIS_MODULE,
index daa333b..8728060 100644 (file)
@@ -517,7 +517,7 @@ static __devexit int max8925_power_remove(struct platform_device *pdev)
 
 static struct platform_driver max8925_power_driver = {
        .probe  = max8925_power_probe,
-       .remove = __devexit_p(max8925_power_remove),
+       .remove = max8925_power_remove,
        .driver = {
                .name   = "max8925-power",
        },
index 6e88c5d..19cfd2d 100644 (file)
@@ -187,7 +187,7 @@ static struct platform_driver max8997_battery_driver = {
                .owner = THIS_MODULE,
        },
        .probe = max8997_battery_probe,
-       .remove = __devexit_p(max8997_battery_remove),
+       .remove = max8997_battery_remove,
        .id_table = max8997_battery_id,
 };
 
index 6dc01c2..1db1363 100644 (file)
@@ -199,7 +199,7 @@ static struct platform_driver max8998_battery_driver = {
                .owner = THIS_MODULE,
        },
        .probe = max8998_battery_probe,
-       .remove = __devexit_p(max8998_battery_remove),
+       .remove = max8998_battery_remove,
        .id_table = max8998_battery_id,
 };
 
index a89a41a..3147911 100644 (file)
@@ -681,7 +681,7 @@ static struct platform_driver olpc_battery_driver = {
                .of_match_table = olpc_battery_ids,
        },
        .probe = olpc_battery_probe,
-       .remove = __devexit_p(olpc_battery_remove),
+       .remove = olpc_battery_remove,
        .suspend = olpc_battery_suspend,
 };
 
index 3d1e9ef..81bada0 100644 (file)
@@ -471,7 +471,7 @@ static struct platform_driver pcf50633_mbc_driver = {
                .name = "pcf50633-mbc",
        },
        .probe = pcf50633_mbc_probe,
-       .remove = __devexit_p(pcf50633_mbc_remove),
+       .remove = pcf50633_mbc_remove,
 };
 
 module_platform_driver(pcf50633_mbc_driver);
index 4146596..de57fdd 100644 (file)
@@ -853,7 +853,7 @@ MODULE_DEVICE_TABLE(i2c, sbs_id);
 
 static struct i2c_driver sbs_battery_driver = {
        .probe          = sbs_probe,
-       .remove         = __devexit_p(sbs_remove),
+       .remove         = sbs_remove,
        .suspend        = sbs_suspend,
        .resume         = sbs_resume,
        .id_table       = sbs_id,
index a9707c1..acf84e8 100644 (file)
@@ -1313,7 +1313,7 @@ static struct i2c_driver smb347_driver = {
                .name = "smb347",
        },
        .probe        = smb347_probe,
-       .remove       = __devexit_p(smb347_remove),
+       .remove       = smb347_remove,
        .id_table     = smb347_id,
 };
 
index 51199b5..9625a76 100644 (file)
@@ -433,7 +433,7 @@ static struct platform_driver tosa_bat_driver = {
        .driver.name    = "wm97xx-battery",
        .driver.owner   = THIS_MODULE,
        .probe          = tosa_bat_probe,
-       .remove         = __devexit_p(tosa_bat_remove),
+       .remove         = tosa_bat_remove,
        .suspend        = tosa_bat_suspend,
        .resume         = tosa_bat_resume,
 };
index 6243e69..6ea6fbd 100644 (file)
@@ -220,7 +220,7 @@ static __devexit int wm831x_backup_remove(struct platform_device *pdev)
 
 static struct platform_driver wm831x_backup_driver = {
        .probe = wm831x_backup_probe,
-       .remove = __devexit_p(wm831x_backup_remove),
+       .remove = wm831x_backup_remove,
        .driver = {
                .name = "wm831x-backup",
        },
index fc1ad95..6b6a678 100644 (file)
@@ -654,7 +654,7 @@ static __devexit int wm831x_power_remove(struct platform_device *pdev)
 
 static struct platform_driver wm831x_power_driver = {
        .probe = wm831x_power_probe,
-       .remove = __devexit_p(wm831x_power_remove),
+       .remove = wm831x_power_remove,
        .driver = {
                .name = "wm831x-power",
        },
index fae04d3..50d5605 100644 (file)
@@ -516,7 +516,7 @@ static __devexit int wm8350_power_remove(struct platform_device *pdev)
 
 static struct platform_driver wm8350_power_driver = {
        .probe = wm8350_power_probe,
-       .remove = __devexit_p(wm8350_power_remove),
+       .remove = wm8350_power_remove,
        .driver = {
                .name = "wm8350-power",
        },
index e128a81..786d1cd 100644 (file)
@@ -287,7 +287,7 @@ static struct platform_driver wm97xx_bat_driver = {
 #endif
        },
        .probe          = wm97xx_bat_probe,
-       .remove         = __devexit_p(wm97xx_bat_remove),
+       .remove         = wm97xx_bat_remove,
 };
 
 module_platform_driver(wm97xx_bat_driver);
index 5757d0d..406dbd3 100644 (file)
@@ -313,7 +313,7 @@ static struct i2c_driver z2_batt_driver = {
                .pm     = Z2_BATTERY_PM_OPS
        },
        .probe          = z2_batt_probe,
-       .remove         = __devexit_p(z2_batt_remove),
+       .remove         = z2_batt_remove,
        .id_table       = z2_batt_id,
 };
 module_i2c_driver(z2_batt_driver);