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 beed5ecf75e12a4f5c534bc16a63a28ca41557a2..ebf7bb5c57edd83760fcd31b29e945b96fa4ce11 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 2dbeb1460901e8de01520ea1aba72df8d4f50988..fc051732e5dc5f8197b9bb6ee91fd17a50fc5bbe 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 e3b6395b20ddc226f2324ddfecbf820469accd03..61867095d440e5f1be3e6c1ca8d06fc06d458a7a 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 26ff759e2220572579ba9f01c319d21b0cdb96ec..fe36df2680a3645f4a637b4c2984c7a09100f846 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 2db8cc254399c8093ffcfbbc78c965d68d73f14e..ff2f09c0c128c3c70fd41378c04cd3e97262b98f 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 4d302803ffccb01580937ba4ffef7ecc05096ac9..6ed6b88f1fa812486689baa277eb826704a67867 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 24768a27e1d8b2593bb97fd382a3fdf1b2a40252..c7d4417104232d864b464708f149b81ce3a796d1 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 5860d4dfbe9cdaf3fbeed4870429c5e918166c3c..8faeb40cf78f5ab17a54500e7463ac37949cf8ff 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 8a0aca6364c7e8ba9ab68261b598afe2e155ad18..5a1cc0a884834f5979f355c6430d73785ea9cae9 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 b19bfe400f8c23bb0512ea8b642dd6bd5034fced..cd9ef5103d073582e81c13d723995e2cf38d4e79 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 d9d034d7496f7c3adeaf4af5e0d72bf02f522a7d..753d4ba483f78d0aa111ebd571de8ea7a480e746 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 74fad941c56c226c2d20ae667c37bd36191d65a7..2154822e9c86870fb8fdf5bd00b441b7ef774478 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 22b3c8c93552dbe63b33e8f167cba111f96a3c62..ce1200914b89cd38df541aac9b5321417a3187d9 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 9bdf4447039630f7d2f3f419279d485a33fd1d9d..60a0f29a9ac9f7ad250805ea76206bf9a349b44f 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 cb2aa3195687b909d456f9058bbca605331795b2..e74fb2fbdb2c80ece60a874b06e97425225c45d2 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 d09649706bd33d7fd3cecf4c303a2c57c8661204..8ba1c67af60e6dfe60b04dbaf10b2769b8faeb7b 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 122911978da22a55f810044892873c654f19661e..1f0c5857130bb037198787365b4c84b93dc9c7c6 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 ffbed5e5b9456e9dd763ce683b27b7cab6eaf1b1..c9abfef66aa195f9a72aa9e553783ba2fb73c31c 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 c628224b7f58788b94df718fb087c1b56e5a03ed..c6ba2ff215de7b8886db6bee4ad946614838f065 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 e852d12cd077afa027b5d50be4b5b85ad8b84c0a..5d743b75f5cf70ec5da3702aae4c7d34764bb2b6 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 58e67830143c37ff520fb3e7678fe3513ecf2858..fcc712e8aaebbed1dfe330e3bd1144ba5de54dac 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 74abc6c755b498bf023fcd540b9232743f1cd744..0896fec2eeccc0bb49a620242d96e74e722e9563 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 3e23f43e98af5813462a83c06de11fefe9eaaef0..53ab51e8c89218942ee9721ebbf75f6c08e4c017 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 daa333bd7ebb199f6c1325f214a6a7c074c0a061..872806018d588e86bed91ce5d826b55dfc92ccdd 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 6e88c5d026b93485a942c3102cf27971cd64df1f..19cfd2d12901b759bb781439ac1e4f57a5361e53 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 6dc01c2555922d539c9b19dc7a1255e81e4efaac..1db13638ef7fba9616a50d9028ee9548011a63ee 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 a89a41acf9c54bb1d4715cec9fabbf1caf29c915..31479115db73b8002abf9d475c5e4420f8e505f5 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 3d1e9efb6f53bfcd9dd03f675e1518e6ab7ffb5e..81bada0a3692dfe11fceafcbf6b940bc73ff54b0 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 4146596d254b9f8f7c8eaa325fb0714d495edec5..de57fdd75a8c1b1879ada14d2803b5dfe676ae39 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 a9707c11fbed47a9cc8444b6f0b4812d50fcd8d9..acf84e80fe986c2c577f7b0d789510c62801c9c1 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 51199b5ce2210ed64b3842eec4e0ea93b1f12763..9625a765d5666bb26bf4c2dd7e5d34e6dacf1eb4 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 6243e69751261e17fc2e89f5766bda8e52f32f01..6ea6fbd32c202e6c4d94028734a4a458fbaed7c0 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 fc1ad9551182602f8d485d5e18a2f56e0b057908..6b6a678c7c811c42274387288565823cdf7434bc 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 fae04d3846570dd62d51d5baaa555437c5b42d76..50d5605f4fd20f0ed1315a3c92d86ea7ec65134a 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 e128a813dc24c33ea54f476c618cdf9218fa0431..786d1cd685c389edd58d0abc7889a99f2b1c4db4 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 5757d0d6782f33fa858558f52f903e2bc36a6b49..406dbd3d6bff8e6316592316854fdfc52ba7440e 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);