Skip to content

Commit c8afa64

Browse files
wfp5pgregkh
authored andcommitted
power: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit 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 28ea73f commit c8afa64

33 files changed

Lines changed: 35 additions & 35 deletions

‎drivers/power/88pm860x_battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ static enum power_supply_property pm860x_batt_props[] = {
901901
POWER_SUPPLY_PROP_TEMP,
902902
};
903903

904-
static __devinit int pm860x_battery_probe(struct platform_device *pdev)
904+
static int pm860x_battery_probe(struct platform_device *pdev)
905905
{
906906
struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
907907
struct pm860x_battery_info *info;

‎drivers/power/88pm860x_charger.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ static struct pm860x_irq_desc {
645645
{ "vchg", pm860x_vchg_handler },
646646
};
647647

648-
static __devinit int pm860x_charger_probe(struct platform_device *pdev)
648+
static int pm860x_charger_probe(struct platform_device *pdev)
649649
{
650650
struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
651651
struct pm860x_charger_info *info;

‎drivers/power/ab8500_btemp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ static int __devexit ab8500_btemp_remove(struct platform_device *pdev)
960960
return 0;
961961
}
962962

963-
static int __devinit ab8500_btemp_probe(struct platform_device *pdev)
963+
static int ab8500_btemp_probe(struct platform_device *pdev)
964964
{
965965
int irq, i, ret = 0;
966966
u8 val;

‎drivers/power/ab8500_charger.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@ static int __devexit ab8500_charger_remove(struct platform_device *pdev)
25312531
return 0;
25322532
}
25332533

2534-
static int __devinit ab8500_charger_probe(struct platform_device *pdev)
2534+
static int ab8500_charger_probe(struct platform_device *pdev)
25352535
{
25362536
int irq, i, charger_status, ret = 0;
25372537
struct abx500_bm_plat_data *plat_data = pdev->dev.platform_data;

‎drivers/power/ab8500_fg.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,7 @@ static struct ab8500_fg_interrupts ab8500_fg_irq[] = {
24422442
{"CCEOC", ab8500_fg_cc_data_end_handler},
24432443
};
24442444

2445-
static int __devinit ab8500_fg_probe(struct platform_device *pdev)
2445+
static int ab8500_fg_probe(struct platform_device *pdev)
24462446
{
24472447
int i, irq;
24482448
int ret = 0;

‎drivers/power/abx500_chargalg.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ static int __devexit abx500_chargalg_remove(struct platform_device *pdev)
18001800
return 0;
18011801
}
18021802

1803-
static int __devinit abx500_chargalg_probe(struct platform_device *pdev)
1803+
static int abx500_chargalg_probe(struct platform_device *pdev)
18041804
{
18051805
struct abx500_bm_plat_data *plat_data;
18061806
int ret = 0;

‎drivers/power/bq27x00_battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ static int bq27000_read_platform(struct bq27x00_device_info *di, u8 reg,
926926
return pdata->read(dev, reg);
927927
}
928928

929-
static int __devinit bq27000_battery_probe(struct platform_device *pdev)
929+
static int bq27000_battery_probe(struct platform_device *pdev)
930930
{
931931
struct bq27x00_device_info *di;
932932
struct bq27000_platform_data *pdata = pdev->dev.platform_data;

‎drivers/power/collie_battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ static int collie_bat_resume(struct ucb1x00_dev *dev)
305305
#define collie_bat_resume NULL
306306
#endif
307307

308-
static int __devinit collie_bat_probe(struct ucb1x00_dev *dev)
308+
static int collie_bat_probe(struct ucb1x00_dev *dev)
309309
{
310310
int ret;
311311

‎drivers/power/da9052-battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ static const char *const da9052_bat_irqs[] = {
576576
"CHG END",
577577
};
578578

579-
static s32 __devinit da9052_bat_probe(struct platform_device *pdev)
579+
static s32 da9052_bat_probe(struct platform_device *pdev)
580580
{
581581
struct da9052_pdata *pdata;
582582
struct da9052_battery *bat;

‎drivers/power/ds2780_battery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ static const struct attribute_group ds2780_attr_group = {
755755
.attrs = ds2780_attributes,
756756
};
757757

758-
static int __devinit ds2780_battery_probe(struct platform_device *pdev)
758+
static int ds2780_battery_probe(struct platform_device *pdev)
759759
{
760760
int ret = 0;
761761
struct ds2780_device_info *dev_info;

0 commit comments

Comments
 (0)