aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:22:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 14:43:22 -0500
commitc8afa6406e60aec6ff90033e5ffe41a206609296 (patch)
treefc5f696c1b023fc3f045ad36033b1c23e2a786ad /drivers/power
parent28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (diff)
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>
Diffstat (limited to 'drivers/power')
-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/bq27x00_battery.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.c4
-rw-r--r--drivers/power/isp1704_charger.c2
-rw-r--r--drivers/power/jz4740-battery.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.c4
-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/s3c_adc_battery.c2
-rw-r--r--drivers/power/sbs-battery.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
33 files changed, 35 insertions, 35 deletions
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c
index ebf7bb5c57ed..0a8e09fc2138 100644
--- a/drivers/power/88pm860x_battery.c
+++ b/drivers/power/88pm860x_battery.c
@@ -901,7 +901,7 @@ static enum power_supply_property pm860x_batt_props[] = {
901 POWER_SUPPLY_PROP_TEMP, 901 POWER_SUPPLY_PROP_TEMP,
902}; 902};
903 903
904static __devinit int pm860x_battery_probe(struct platform_device *pdev) 904static int pm860x_battery_probe(struct platform_device *pdev)
905{ 905{
906 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); 906 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
907 struct pm860x_battery_info *info; 907 struct pm860x_battery_info *info;
diff --git a/drivers/power/88pm860x_charger.c b/drivers/power/88pm860x_charger.c
index fc051732e5dc..5f034f2c1964 100644
--- a/drivers/power/88pm860x_charger.c
+++ b/drivers/power/88pm860x_charger.c
@@ -645,7 +645,7 @@ static struct pm860x_irq_desc {
645 { "vchg", pm860x_vchg_handler }, 645 { "vchg", pm860x_vchg_handler },
646}; 646};
647 647
648static __devinit int pm860x_charger_probe(struct platform_device *pdev) 648static int pm860x_charger_probe(struct platform_device *pdev)
649{ 649{
650 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); 650 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
651 struct pm860x_charger_info *info; 651 struct pm860x_charger_info *info;
diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c
index 61867095d440..87a7c972a909 100644
--- a/drivers/power/ab8500_btemp.c
+++ b/drivers/power/ab8500_btemp.c
@@ -960,7 +960,7 @@ static int __devexit ab8500_btemp_remove(struct platform_device *pdev)
960 return 0; 960 return 0;
961} 961}
962 962
963static int __devinit ab8500_btemp_probe(struct platform_device *pdev) 963static int ab8500_btemp_probe(struct platform_device *pdev)
964{ 964{
965 int irq, i, ret = 0; 965 int irq, i, ret = 0;
966 u8 val; 966 u8 val;
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c
index fe36df2680a3..b19149b540ee 100644
--- a/drivers/power/ab8500_charger.c
+++ b/drivers/power/ab8500_charger.c
@@ -2531,7 +2531,7 @@ static int __devexit ab8500_charger_remove(struct platform_device *pdev)
2531 return 0; 2531 return 0;
2532} 2532}
2533 2533
2534static int __devinit ab8500_charger_probe(struct platform_device *pdev) 2534static int ab8500_charger_probe(struct platform_device *pdev)
2535{ 2535{
2536 int irq, i, charger_status, ret = 0; 2536 int irq, i, charger_status, ret = 0;
2537 struct abx500_bm_plat_data *plat_data = pdev->dev.platform_data; 2537 struct abx500_bm_plat_data *plat_data = pdev->dev.platform_data;
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index ff2f09c0c128..b3598b86bbe0 100644
--- a/drivers/power/ab8500_fg.c
+++ b/drivers/power/ab8500_fg.c
@@ -2442,7 +2442,7 @@ static struct ab8500_fg_interrupts ab8500_fg_irq[] = {
2442 {"CCEOC", ab8500_fg_cc_data_end_handler}, 2442 {"CCEOC", ab8500_fg_cc_data_end_handler},
2443}; 2443};
2444 2444
2445static int __devinit ab8500_fg_probe(struct platform_device *pdev) 2445static int ab8500_fg_probe(struct platform_device *pdev)
2446{ 2446{
2447 int i, irq; 2447 int i, irq;
2448 int ret = 0; 2448 int ret = 0;
diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c
index 6ed6b88f1fa8..44a5fdac970f 100644
--- a/drivers/power/abx500_chargalg.c
+++ b/drivers/power/abx500_chargalg.c
@@ -1800,7 +1800,7 @@ static int __devexit abx500_chargalg_remove(struct platform_device *pdev)
1800 return 0; 1800 return 0;
1801} 1801}
1802 1802
1803static int __devinit abx500_chargalg_probe(struct platform_device *pdev) 1803static int abx500_chargalg_probe(struct platform_device *pdev)
1804{ 1804{
1805 struct abx500_bm_plat_data *plat_data; 1805 struct abx500_bm_plat_data *plat_data;
1806 int ret = 0; 1806 int ret = 0;
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index 8faeb40cf78f..a256a4c05dc6 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -926,7 +926,7 @@ static int bq27000_read_platform(struct bq27x00_device_info *di, u8 reg,
926 return pdata->read(dev, reg); 926 return pdata->read(dev, reg);
927} 927}
928 928
929static int __devinit bq27000_battery_probe(struct platform_device *pdev) 929static int bq27000_battery_probe(struct platform_device *pdev)
930{ 930{
931 struct bq27x00_device_info *di; 931 struct bq27x00_device_info *di;
932 struct bq27000_platform_data *pdata = pdev->dev.platform_data; 932 struct bq27000_platform_data *pdata = pdev->dev.platform_data;
diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c
index cd9ef5103d07..d3d80bb84c8f 100644
--- a/drivers/power/collie_battery.c
+++ b/drivers/power/collie_battery.c
@@ -305,7 +305,7 @@ static int collie_bat_resume(struct ucb1x00_dev *dev)
305#define collie_bat_resume NULL 305#define collie_bat_resume NULL
306#endif 306#endif
307 307
308static int __devinit collie_bat_probe(struct ucb1x00_dev *dev) 308static int collie_bat_probe(struct ucb1x00_dev *dev)
309{ 309{
310 int ret; 310 int ret;
311 311
diff --git a/drivers/power/da9052-battery.c b/drivers/power/da9052-battery.c
index 753d4ba483f7..133829065afb 100644
--- a/drivers/power/da9052-battery.c
+++ b/drivers/power/da9052-battery.c
@@ -576,7 +576,7 @@ static const char *const da9052_bat_irqs[] = {
576 "CHG END", 576 "CHG END",
577}; 577};
578 578
579static s32 __devinit da9052_bat_probe(struct platform_device *pdev) 579static s32 da9052_bat_probe(struct platform_device *pdev)
580{ 580{
581 struct da9052_pdata *pdata; 581 struct da9052_pdata *pdata;
582 struct da9052_battery *bat; 582 struct da9052_battery *bat;
diff --git a/drivers/power/ds2780_battery.c b/drivers/power/ds2780_battery.c
index 2154822e9c86..42024f854213 100644
--- a/drivers/power/ds2780_battery.c
+++ b/drivers/power/ds2780_battery.c
@@ -755,7 +755,7 @@ static const struct attribute_group ds2780_attr_group = {
755 .attrs = ds2780_attributes, 755 .attrs = ds2780_attributes,
756}; 756};
757 757
758static int __devinit ds2780_battery_probe(struct platform_device *pdev) 758static int ds2780_battery_probe(struct platform_device *pdev)
759{ 759{
760 int ret = 0; 760 int ret = 0;
761 struct ds2780_device_info *dev_info; 761 struct ds2780_device_info *dev_info;
diff --git a/drivers/power/ds2781_battery.c b/drivers/power/ds2781_battery.c
index ce1200914b89..46821aafe6be 100644
--- a/drivers/power/ds2781_battery.c
+++ b/drivers/power/ds2781_battery.c
@@ -750,7 +750,7 @@ static const struct attribute_group ds2781_attr_group = {
750 .attrs = ds2781_attributes, 750 .attrs = ds2781_attributes,
751}; 751};
752 752
753static int __devinit ds2781_battery_probe(struct platform_device *pdev) 753static int ds2781_battery_probe(struct platform_device *pdev)
754{ 754{
755 int ret = 0; 755 int ret = 0;
756 struct ds2781_device_info *dev_info; 756 struct ds2781_device_info *dev_info;
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c
index 60a0f29a9ac9..055dea7a1756 100644
--- a/drivers/power/generic-adc-battery.c
+++ b/drivers/power/generic-adc-battery.c
@@ -236,7 +236,7 @@ static irqreturn_t gab_charged(int irq, void *dev_id)
236 return IRQ_HANDLED; 236 return IRQ_HANDLED;
237} 237}
238 238
239static int __devinit gab_probe(struct platform_device *pdev) 239static int gab_probe(struct platform_device *pdev)
240{ 240{
241 struct gab *adc_bat; 241 struct gab *adc_bat;
242 struct power_supply *psy; 242 struct power_supply *psy;
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c
index e74fb2fbdb2c..cea6e6ae0e84 100644
--- a/drivers/power/gpio-charger.c
+++ b/drivers/power/gpio-charger.c
@@ -68,7 +68,7 @@ static enum power_supply_property gpio_charger_properties[] = {
68 POWER_SUPPLY_PROP_ONLINE, 68 POWER_SUPPLY_PROP_ONLINE,
69}; 69};
70 70
71static int __devinit gpio_charger_probe(struct platform_device *pdev) 71static int gpio_charger_probe(struct platform_device *pdev)
72{ 72{
73 const struct gpio_charger_platform_data *pdata = pdev->dev.platform_data; 73 const struct gpio_charger_platform_data *pdata = pdev->dev.platform_data;
74 struct gpio_charger *gpio_charger; 74 struct gpio_charger *gpio_charger;
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c
index 8ba1c67af60e..0eb50b0daf74 100644
--- a/drivers/power/intel_mid_battery.c
+++ b/drivers/power/intel_mid_battery.c
@@ -649,7 +649,7 @@ static void pmic_battery_handle_intrpt(struct work_struct *work)
649 * PMIC battery initializes its internal data structue and other 649 * PMIC battery initializes its internal data structue and other
650 * infrastructure components for it to work as expected. 650 * infrastructure components for it to work as expected.
651 */ 651 */
652static __devinit int probe(int irq, struct device *dev) 652static int probe(int irq, struct device *dev)
653{ 653{
654 int retval = 0; 654 int retval = 0;
655 struct pmic_power_module_info *pbi; 655 struct pmic_power_module_info *pbi;
@@ -739,7 +739,7 @@ wqueue_failed:
739 return retval; 739 return retval;
740} 740}
741 741
742static int __devinit platform_pmic_battery_probe(struct platform_device *pdev) 742static int platform_pmic_battery_probe(struct platform_device *pdev)
743{ 743{
744 return probe(pdev->id, &pdev->dev); 744 return probe(pdev->id, &pdev->dev);
745} 745}
diff --git a/drivers/power/isp1704_charger.c b/drivers/power/isp1704_charger.c
index 1f0c5857130b..3a1b9598d168 100644
--- a/drivers/power/isp1704_charger.c
+++ b/drivers/power/isp1704_charger.c
@@ -406,7 +406,7 @@ static inline int isp1704_test_ulpi(struct isp1704_charger *isp)
406 return -ENODEV; 406 return -ENODEV;
407} 407}
408 408
409static int __devinit isp1704_charger_probe(struct platform_device *pdev) 409static int isp1704_charger_probe(struct platform_device *pdev)
410{ 410{
411 struct isp1704_charger *isp; 411 struct isp1704_charger *isp;
412 int ret = -ENODEV; 412 int ret = -ENODEV;
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c
index c9abfef66aa1..1f7d2ca0dbd2 100644
--- a/drivers/power/jz4740-battery.c
+++ b/drivers/power/jz4740-battery.c
@@ -238,7 +238,7 @@ static void jz_battery_work(struct work_struct *work)
238 schedule_delayed_work(&jz_battery->work, interval); 238 schedule_delayed_work(&jz_battery->work, interval);
239} 239}
240 240
241static int __devinit jz_battery_probe(struct platform_device *pdev) 241static int jz_battery_probe(struct platform_device *pdev)
242{ 242{
243 int ret = 0; 243 int ret = 0;
244 struct jz_battery_platform_data *pdata = pdev->dev.parent->platform_data; 244 struct jz_battery_platform_data *pdata = pdev->dev.parent->platform_data;
diff --git a/drivers/power/lp8788-charger.c b/drivers/power/lp8788-charger.c
index 5d743b75f5cf..3bdb4be8db2b 100644
--- a/drivers/power/lp8788-charger.c
+++ b/drivers/power/lp8788-charger.c
@@ -729,7 +729,7 @@ static const struct attribute_group lp8788_attr_group = {
729 .attrs = lp8788_charger_attr, 729 .attrs = lp8788_charger_attr,
730}; 730};
731 731
732static __devinit int lp8788_charger_probe(struct platform_device *pdev) 732static int lp8788_charger_probe(struct platform_device *pdev)
733{ 733{
734 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); 734 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent);
735 struct lp8788_charger *pchg; 735 struct lp8788_charger *pchg;
diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c
index fcc712e8aaeb..ae10a21ed70c 100644
--- a/drivers/power/max17040_battery.c
+++ b/drivers/power/max17040_battery.c
@@ -197,7 +197,7 @@ static enum power_supply_property max17040_battery_props[] = {
197 POWER_SUPPLY_PROP_CAPACITY, 197 POWER_SUPPLY_PROP_CAPACITY,
198}; 198};
199 199
200static int __devinit max17040_probe(struct i2c_client *client, 200static int max17040_probe(struct i2c_client *client,
201 const struct i2c_device_id *id) 201 const struct i2c_device_id *id)
202{ 202{
203 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); 203 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
diff --git a/drivers/power/max17042_battery.c b/drivers/power/max17042_battery.c
index 0896fec2eecc..8752bc01a9ea 100644
--- a/drivers/power/max17042_battery.c
+++ b/drivers/power/max17042_battery.c
@@ -681,7 +681,7 @@ max17042_get_pdata(struct device *dev)
681} 681}
682#endif 682#endif
683 683
684static int __devinit max17042_probe(struct i2c_client *client, 684static int max17042_probe(struct i2c_client *client,
685 const struct i2c_device_id *id) 685 const struct i2c_device_id *id)
686{ 686{
687 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); 687 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c
index 53ab51e8c892..83272c51f6a5 100644
--- a/drivers/power/max8903_charger.c
+++ b/drivers/power/max8903_charger.c
@@ -179,7 +179,7 @@ static irqreturn_t max8903_fault(int irq, void *_data)
179 return IRQ_HANDLED; 179 return IRQ_HANDLED;
180} 180}
181 181
182static __devinit int max8903_probe(struct platform_device *pdev) 182static int max8903_probe(struct platform_device *pdev)
183{ 183{
184 struct max8903_data *data; 184 struct max8903_data *data;
185 struct device *dev = &pdev->dev; 185 struct device *dev = &pdev->dev;
diff --git a/drivers/power/max8925_power.c b/drivers/power/max8925_power.c
index 872806018d58..7b8191b08a46 100644
--- a/drivers/power/max8925_power.c
+++ b/drivers/power/max8925_power.c
@@ -356,7 +356,7 @@ do { \
356 _irq, ret); \ 356 _irq, ret); \
357} while (0) 357} while (0)
358 358
359static __devinit int max8925_init_charger(struct max8925_chip *chip, 359static int max8925_init_charger(struct max8925_chip *chip,
360 struct max8925_power_info *info) 360 struct max8925_power_info *info)
361{ 361{
362 int ret; 362 int ret;
@@ -426,7 +426,7 @@ static __devexit int max8925_deinit_charger(struct max8925_power_info *info)
426 return 0; 426 return 0;
427} 427}
428 428
429static __devinit int max8925_power_probe(struct platform_device *pdev) 429static int max8925_power_probe(struct platform_device *pdev)
430{ 430{
431 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent); 431 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent);
432 struct max8925_power_pdata *pdata = NULL; 432 struct max8925_power_pdata *pdata = NULL;
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 19cfd2d12901..c6767dfd4c41 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -86,7 +86,7 @@ static int max8997_battery_get_property(struct power_supply *psy,
86 return 0; 86 return 0;
87} 87}
88 88
89static __devinit int max8997_battery_probe(struct platform_device *pdev) 89static int max8997_battery_probe(struct platform_device *pdev)
90{ 90{
91 int ret = 0; 91 int ret = 0;
92 struct charger_data *charger; 92 struct charger_data *charger;
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c
index 1db13638ef7f..9f34c80f358c 100644
--- a/drivers/power/max8998_charger.c
+++ b/drivers/power/max8998_charger.c
@@ -75,7 +75,7 @@ static int max8998_battery_get_property(struct power_supply *psy,
75 return 0; 75 return 0;
76} 76}
77 77
78static __devinit int max8998_battery_probe(struct platform_device *pdev) 78static int max8998_battery_probe(struct platform_device *pdev)
79{ 79{
80 struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent); 80 struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent);
81 struct max8998_platform_data *pdata = dev_get_platdata(iodev->dev); 81 struct max8998_platform_data *pdata = dev_get_platdata(iodev->dev);
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c
index 31479115db73..60d5449a9960 100644
--- a/drivers/power/olpc_battery.c
+++ b/drivers/power/olpc_battery.c
@@ -598,7 +598,7 @@ static int olpc_battery_suspend(struct platform_device *pdev,
598 return 0; 598 return 0;
599} 599}
600 600
601static int __devinit olpc_battery_probe(struct platform_device *pdev) 601static int olpc_battery_probe(struct platform_device *pdev)
602{ 602{
603 int ret; 603 int ret;
604 uint8_t status; 604 uint8_t status;
diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c
index 81bada0a3692..c0ba4ecb1943 100644
--- a/drivers/power/pcf50633-charger.c
+++ b/drivers/power/pcf50633-charger.c
@@ -366,7 +366,7 @@ static const u8 mbc_irq_handlers[] = {
366 PCF50633_IRQ_LOWBAT, 366 PCF50633_IRQ_LOWBAT,
367}; 367};
368 368
369static int __devinit pcf50633_mbc_probe(struct platform_device *pdev) 369static int pcf50633_mbc_probe(struct platform_device *pdev)
370{ 370{
371 struct pcf50633_mbc *mbc; 371 struct pcf50633_mbc *mbc;
372 int ret; 372 int ret;
diff --git a/drivers/power/s3c_adc_battery.c b/drivers/power/s3c_adc_battery.c
index 8b804a566756..d2ca989dcbdc 100644
--- a/drivers/power/s3c_adc_battery.c
+++ b/drivers/power/s3c_adc_battery.c
@@ -286,7 +286,7 @@ static irqreturn_t s3c_adc_bat_charged(int irq, void *dev_id)
286 return IRQ_HANDLED; 286 return IRQ_HANDLED;
287} 287}
288 288
289static int __devinit s3c_adc_bat_probe(struct platform_device *pdev) 289static int s3c_adc_bat_probe(struct platform_device *pdev)
290{ 290{
291 struct s3c_adc_client *client; 291 struct s3c_adc_client *client;
292 struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data; 292 struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data;
diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c
index de57fdd75a8c..30280c5b1fb7 100644
--- a/drivers/power/sbs-battery.c
+++ b/drivers/power/sbs-battery.c
@@ -675,7 +675,7 @@ static struct sbs_platform_data *sbs_of_populate_pdata(
675} 675}
676#endif 676#endif
677 677
678static int __devinit sbs_probe(struct i2c_client *client, 678static int sbs_probe(struct i2c_client *client,
679 const struct i2c_device_id *id) 679 const struct i2c_device_id *id)
680{ 680{
681 struct sbs_info *chip; 681 struct sbs_info *chip;
diff --git a/drivers/power/tosa_battery.c b/drivers/power/tosa_battery.c
index 9625a765d566..d958c9f6d524 100644
--- a/drivers/power/tosa_battery.c
+++ b/drivers/power/tosa_battery.c
@@ -342,7 +342,7 @@ static int tosa_bat_resume(struct platform_device *dev)
342#define tosa_bat_resume NULL 342#define tosa_bat_resume NULL
343#endif 343#endif
344 344
345static int __devinit tosa_bat_probe(struct platform_device *dev) 345static int tosa_bat_probe(struct platform_device *dev)
346{ 346{
347 int ret; 347 int ret;
348 348
diff --git a/drivers/power/wm831x_backup.c b/drivers/power/wm831x_backup.c
index 6ea6fbd32c20..ef3b81788752 100644
--- a/drivers/power/wm831x_backup.c
+++ b/drivers/power/wm831x_backup.c
@@ -161,7 +161,7 @@ static enum power_supply_property wm831x_backup_props[] = {
161 * Initialisation 161 * Initialisation
162 *********************************************************************/ 162 *********************************************************************/
163 163
164static __devinit int wm831x_backup_probe(struct platform_device *pdev) 164static int wm831x_backup_probe(struct platform_device *pdev)
165{ 165{
166 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 166 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
167 struct wm831x_pdata *wm831x_pdata = wm831x->dev->platform_data; 167 struct wm831x_pdata *wm831x_pdata = wm831x->dev->platform_data;
diff --git a/drivers/power/wm831x_power.c b/drivers/power/wm831x_power.c
index 6b6a678c7c81..d21af8a01af3 100644
--- a/drivers/power/wm831x_power.c
+++ b/drivers/power/wm831x_power.c
@@ -489,7 +489,7 @@ static irqreturn_t wm831x_pwr_src_irq(int irq, void *data)
489 return IRQ_HANDLED; 489 return IRQ_HANDLED;
490} 490}
491 491
492static __devinit int wm831x_power_probe(struct platform_device *pdev) 492static int wm831x_power_probe(struct platform_device *pdev)
493{ 493{
494 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 494 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
495 struct wm831x_pdata *wm831x_pdata = wm831x->dev->platform_data; 495 struct wm831x_pdata *wm831x_pdata = wm831x->dev->platform_data;
diff --git a/drivers/power/wm8350_power.c b/drivers/power/wm8350_power.c
index 50d5605f4fd2..6acb63a41a2d 100644
--- a/drivers/power/wm8350_power.c
+++ b/drivers/power/wm8350_power.c
@@ -442,7 +442,7 @@ static void free_charger_irq(struct wm8350 *wm8350)
442 wm8350_free_irq(wm8350, WM8350_IRQ_EXT_BAT_FB, wm8350); 442 wm8350_free_irq(wm8350, WM8350_IRQ_EXT_BAT_FB, wm8350);
443} 443}
444 444
445static __devinit int wm8350_power_probe(struct platform_device *pdev) 445static int wm8350_power_probe(struct platform_device *pdev)
446{ 446{
447 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 447 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
448 struct wm8350_power *power = &wm8350->power; 448 struct wm8350_power *power = &wm8350->power;
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c
index 786d1cd685c3..4b3f7634fd30 100644
--- a/drivers/power/wm97xx_battery.c
+++ b/drivers/power/wm97xx_battery.c
@@ -162,7 +162,7 @@ static const struct dev_pm_ops wm97xx_bat_pm_ops = {
162}; 162};
163#endif 163#endif
164 164
165static int __devinit wm97xx_bat_probe(struct platform_device *dev) 165static int wm97xx_bat_probe(struct platform_device *dev)
166{ 166{
167 int ret = 0; 167 int ret = 0;
168 int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ 168 int props = 1; /* POWER_SUPPLY_PROP_PRESENT */
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c
index 406dbd3d6bff..ebf16296aca3 100644
--- a/drivers/power/z2_battery.c
+++ b/drivers/power/z2_battery.c
@@ -180,7 +180,7 @@ static int z2_batt_ps_init(struct z2_charger *charger, int props)
180 return 0; 180 return 0;
181} 181}
182 182
183static int __devinit z2_batt_probe(struct i2c_client *client, 183static int z2_batt_probe(struct i2c_client *client,
184 const struct i2c_device_id *id) 184 const struct i2c_device_id *id)
185{ 185{
186 int ret = 0; 186 int ret = 0;