Skip to content

Commit 415ec69

Browse files
wfp5pgregkh
authored andcommitted
power: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit 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>
1 parent c8afa64 commit 415ec69

35 files changed

Lines changed: 37 additions & 37 deletions

‎drivers/power/88pm860x_battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ static int pm860x_battery_probe(struct platform_device *pdev)
989989
return ret;
990990
}
991991

992-
static int __devexit pm860x_battery_remove(struct platform_device *pdev)
992+
static int pm860x_battery_remove(struct platform_device *pdev)
993993
{
994994
struct pm860x_battery_info *info = platform_get_drvdata(pdev);
995995

‎drivers/power/88pm860x_charger.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ static int pm860x_charger_probe(struct platform_device *pdev)
718718
return ret;
719719
}
720720

721-
static int __devexit pm860x_charger_remove(struct platform_device *pdev)
721+
static int pm860x_charger_remove(struct platform_device *pdev)
722722
{
723723
struct pm860x_charger_info *info = platform_get_drvdata(pdev);
724724
int i;

‎drivers/power/ab8500_btemp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ static int ab8500_btemp_suspend(struct platform_device *pdev,
938938
#define ab8500_btemp_resume NULL
939939
#endif
940940

941-
static int __devexit ab8500_btemp_remove(struct platform_device *pdev)
941+
static int ab8500_btemp_remove(struct platform_device *pdev)
942942
{
943943
struct ab8500_btemp *di = platform_get_drvdata(pdev);
944944
int i, irq;

‎drivers/power/ab8500_charger.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2490,7 +2490,7 @@ static int ab8500_charger_suspend(struct platform_device *pdev,
24902490
#define ab8500_charger_resume NULL
24912491
#endif
24922492

2493-
static int __devexit ab8500_charger_remove(struct platform_device *pdev)
2493+
static int ab8500_charger_remove(struct platform_device *pdev)
24942494
{
24952495
struct ab8500_charger *di = platform_get_drvdata(pdev);
24962496
int i, irq, ret;

‎drivers/power/ab8500_fg.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2411,7 +2411,7 @@ static int ab8500_fg_suspend(struct platform_device *pdev,
24112411
#define ab8500_fg_resume NULL
24122412
#endif
24132413

2414-
static int __devexit ab8500_fg_remove(struct platform_device *pdev)
2414+
static int ab8500_fg_remove(struct platform_device *pdev)
24152415
{
24162416
int ret = 0;
24172417
struct ab8500_fg *di = platform_get_drvdata(pdev);

‎drivers/power/abx500_chargalg.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ static int abx500_chargalg_suspend(struct platform_device *pdev,
17821782
#define abx500_chargalg_resume NULL
17831783
#endif
17841784

1785-
static int __devexit abx500_chargalg_remove(struct platform_device *pdev)
1785+
static int abx500_chargalg_remove(struct platform_device *pdev)
17861786
{
17871787
struct abx500_chargalg *di = platform_get_drvdata(pdev);
17881788

‎drivers/power/avs/smartreflex.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
10261026
return ret;
10271027
}
10281028

1029-
static int __devexit omap_sr_remove(struct platform_device *pdev)
1029+
static int omap_sr_remove(struct platform_device *pdev)
10301030
{
10311031
struct omap_sr_data *pdata = pdev->dev.platform_data;
10321032
struct omap_sr *sr_info;
@@ -1059,7 +1059,7 @@ static int __devexit omap_sr_remove(struct platform_device *pdev)
10591059
return 0;
10601060
}
10611061

1062-
static void __devexit omap_sr_shutdown(struct platform_device *pdev)
1062+
static void omap_sr_shutdown(struct platform_device *pdev)
10631063
{
10641064
struct omap_sr_data *pdata = pdev->dev.platform_data;
10651065
struct omap_sr *sr_info;

‎drivers/power/bq27x00_battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ static int bq27000_battery_probe(struct platform_device *pdev)
969969
return ret;
970970
}
971971

972-
static int __devexit bq27000_battery_remove(struct platform_device *pdev)
972+
static int bq27000_battery_remove(struct platform_device *pdev)
973973
{
974974
struct bq27x00_device_info *di = platform_get_drvdata(pdev);
975975

‎drivers/power/charger-manager.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ static int charger_manager_probe(struct platform_device *pdev)
16551655
return ret;
16561656
}
16571657

1658-
static int __devexit charger_manager_remove(struct platform_device *pdev)
1658+
static int charger_manager_remove(struct platform_device *pdev)
16591659
{
16601660
struct charger_manager *cm = platform_get_drvdata(pdev);
16611661
struct charger_desc *desc = cm->desc;

‎drivers/power/collie_battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static int collie_bat_probe(struct ucb1x00_dev *dev)
349349
return ret;
350350
}
351351

352-
static void __devexit collie_bat_remove(struct ucb1x00_dev *dev)
352+
static void collie_bat_remove(struct ucb1x00_dev *dev)
353353
{
354354
free_irq(gpio_to_irq(COLLIE_GPIO_CO), &collie_bat_main);
355355

0 commit comments

Comments
 (0)