diff options
24 files changed, 0 insertions, 24 deletions
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c index dfcda3a49403..bd3c997f4fee 100644 --- a/drivers/power/88pm860x_battery.c +++ b/drivers/power/88pm860x_battery.c | |||
@@ -1023,7 +1023,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_battery_pm_ops, | |||
1023 | static struct platform_driver pm860x_battery_driver = { | 1023 | static struct platform_driver pm860x_battery_driver = { |
1024 | .driver = { | 1024 | .driver = { |
1025 | .name = "88pm860x-battery", | 1025 | .name = "88pm860x-battery", |
1026 | .owner = THIS_MODULE, | ||
1027 | .pm = &pm860x_battery_pm_ops, | 1026 | .pm = &pm860x_battery_pm_ops, |
1028 | }, | 1027 | }, |
1029 | .probe = pm860x_battery_probe, | 1028 | .probe = pm860x_battery_probe, |
diff --git a/drivers/power/88pm860x_charger.c b/drivers/power/88pm860x_charger.c index de029bbc1cc1..650930e4fa79 100644 --- a/drivers/power/88pm860x_charger.c +++ b/drivers/power/88pm860x_charger.c | |||
@@ -732,7 +732,6 @@ static int pm860x_charger_remove(struct platform_device *pdev) | |||
732 | static struct platform_driver pm860x_charger_driver = { | 732 | static struct platform_driver pm860x_charger_driver = { |
733 | .driver = { | 733 | .driver = { |
734 | .name = "88pm860x-charger", | 734 | .name = "88pm860x-charger", |
735 | .owner = THIS_MODULE, | ||
736 | }, | 735 | }, |
737 | .probe = pm860x_charger_probe, | 736 | .probe = pm860x_charger_probe, |
738 | .remove = pm860x_charger_remove, | 737 | .remove = pm860x_charger_remove, |
diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c index 7f9a4547dccd..4ebf7b0819f7 100644 --- a/drivers/power/ab8500_btemp.c +++ b/drivers/power/ab8500_btemp.c | |||
@@ -1195,7 +1195,6 @@ static struct platform_driver ab8500_btemp_driver = { | |||
1195 | .resume = ab8500_btemp_resume, | 1195 | .resume = ab8500_btemp_resume, |
1196 | .driver = { | 1196 | .driver = { |
1197 | .name = "ab8500-btemp", | 1197 | .name = "ab8500-btemp", |
1198 | .owner = THIS_MODULE, | ||
1199 | .of_match_table = ab8500_btemp_match, | 1198 | .of_match_table = ab8500_btemp_match, |
1200 | }, | 1199 | }, |
1201 | }; | 1200 | }; |
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c index 19110aa613a1..8c8d170ff0f8 100644 --- a/drivers/power/ab8500_charger.c +++ b/drivers/power/ab8500_charger.c | |||
@@ -3733,7 +3733,6 @@ static struct platform_driver ab8500_charger_driver = { | |||
3733 | .resume = ab8500_charger_resume, | 3733 | .resume = ab8500_charger_resume, |
3734 | .driver = { | 3734 | .driver = { |
3735 | .name = "ab8500-charger", | 3735 | .name = "ab8500-charger", |
3736 | .owner = THIS_MODULE, | ||
3737 | .of_match_table = ab8500_charger_match, | 3736 | .of_match_table = ab8500_charger_match, |
3738 | }, | 3737 | }, |
3739 | }; | 3738 | }; |
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index 217da4b2ca86..a71834793b19 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c | |||
@@ -3280,7 +3280,6 @@ static struct platform_driver ab8500_fg_driver = { | |||
3280 | .resume = ab8500_fg_resume, | 3280 | .resume = ab8500_fg_resume, |
3281 | .driver = { | 3281 | .driver = { |
3282 | .name = "ab8500-fg", | 3282 | .name = "ab8500-fg", |
3283 | .owner = THIS_MODULE, | ||
3284 | .of_match_table = ab8500_fg_match, | 3283 | .of_match_table = ab8500_fg_match, |
3285 | }, | 3284 | }, |
3286 | }; | 3285 | }; |
diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c index 6d2723664a01..ab54b8dea670 100644 --- a/drivers/power/abx500_chargalg.c +++ b/drivers/power/abx500_chargalg.c | |||
@@ -2156,7 +2156,6 @@ static struct platform_driver abx500_chargalg_driver = { | |||
2156 | .resume = abx500_chargalg_resume, | 2156 | .resume = abx500_chargalg_resume, |
2157 | .driver = { | 2157 | .driver = { |
2158 | .name = "ab8500-chargalg", | 2158 | .name = "ab8500-chargalg", |
2159 | .owner = THIS_MODULE, | ||
2160 | .of_match_table = ab8500_chargalg_match, | 2159 | .of_match_table = ab8500_chargalg_match, |
2161 | }, | 2160 | }, |
2162 | }; | 2161 | }; |
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index e3bacfe3bcd0..a78ac201828e 100644 --- a/drivers/power/bq27x00_battery.c +++ b/drivers/power/bq27x00_battery.c | |||
@@ -1014,7 +1014,6 @@ static struct platform_driver bq27000_battery_driver = { | |||
1014 | .remove = bq27000_battery_remove, | 1014 | .remove = bq27000_battery_remove, |
1015 | .driver = { | 1015 | .driver = { |
1016 | .name = "bq27000-battery", | 1016 | .name = "bq27000-battery", |
1017 | .owner = THIS_MODULE, | ||
1018 | }, | 1017 | }, |
1019 | }; | 1018 | }; |
1020 | 1019 | ||
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c index 7098a1ce2d3c..3d3c12f1d6e1 100644 --- a/drivers/power/charger-manager.c +++ b/drivers/power/charger-manager.c | |||
@@ -2028,7 +2028,6 @@ static const struct dev_pm_ops charger_manager_pm = { | |||
2028 | static struct platform_driver charger_manager_driver = { | 2028 | static struct platform_driver charger_manager_driver = { |
2029 | .driver = { | 2029 | .driver = { |
2030 | .name = "charger-manager", | 2030 | .name = "charger-manager", |
2031 | .owner = THIS_MODULE, | ||
2032 | .pm = &charger_manager_pm, | 2031 | .pm = &charger_manager_pm, |
2033 | .of_match_table = charger_manager_match, | 2032 | .of_match_table = charger_manager_match, |
2034 | }, | 2033 | }, |
diff --git a/drivers/power/da9030_battery.c b/drivers/power/da9030_battery.c index ae6c41835ee6..78cd5d66144b 100644 --- a/drivers/power/da9030_battery.c +++ b/drivers/power/da9030_battery.c | |||
@@ -579,7 +579,6 @@ static int da9030_battery_remove(struct platform_device *dev) | |||
579 | static struct platform_driver da903x_battery_driver = { | 579 | static struct platform_driver da903x_battery_driver = { |
580 | .driver = { | 580 | .driver = { |
581 | .name = "da903x-battery", | 581 | .name = "da903x-battery", |
582 | .owner = THIS_MODULE, | ||
583 | }, | 582 | }, |
584 | .probe = da9030_battery_probe, | 583 | .probe = da9030_battery_probe, |
585 | .remove = da9030_battery_remove, | 584 | .remove = da9030_battery_remove, |
diff --git a/drivers/power/da9052-battery.c b/drivers/power/da9052-battery.c index f8f4c0f7c17d..d17250f745c2 100644 --- a/drivers/power/da9052-battery.c +++ b/drivers/power/da9052-battery.c | |||
@@ -656,7 +656,6 @@ static struct platform_driver da9052_bat_driver = { | |||
656 | .remove = da9052_bat_remove, | 656 | .remove = da9052_bat_remove, |
657 | .driver = { | 657 | .driver = { |
658 | .name = "da9052-bat", | 658 | .name = "da9052-bat", |
659 | .owner = THIS_MODULE, | ||
660 | }, | 659 | }, |
661 | }; | 660 | }; |
662 | module_platform_driver(da9052_bat_driver); | 661 | module_platform_driver(da9052_bat_driver); |
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c index 59a1421f9288..d72733e4f93a 100644 --- a/drivers/power/generic-adc-battery.c +++ b/drivers/power/generic-adc-battery.c | |||
@@ -414,7 +414,6 @@ static const struct dev_pm_ops gab_pm_ops = { | |||
414 | static struct platform_driver gab_driver = { | 414 | static struct platform_driver gab_driver = { |
415 | .driver = { | 415 | .driver = { |
416 | .name = "generic-adc-battery", | 416 | .name = "generic-adc-battery", |
417 | .owner = THIS_MODULE, | ||
418 | .pm = GAB_PM_OPS | 417 | .pm = GAB_PM_OPS |
419 | }, | 418 | }, |
420 | .probe = gab_probe, | 419 | .probe = gab_probe, |
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c index 7536933d0ab9..3ee889fe0021 100644 --- a/drivers/power/gpio-charger.c +++ b/drivers/power/gpio-charger.c | |||
@@ -194,7 +194,6 @@ static struct platform_driver gpio_charger_driver = { | |||
194 | .remove = gpio_charger_remove, | 194 | .remove = gpio_charger_remove, |
195 | .driver = { | 195 | .driver = { |
196 | .name = "gpio-charger", | 196 | .name = "gpio-charger", |
197 | .owner = THIS_MODULE, | ||
198 | .pm = &gpio_charger_pm_ops, | 197 | .pm = &gpio_charger_pm_ops, |
199 | }, | 198 | }, |
200 | }; | 199 | }; |
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index 4520811168ad..de3f39e6fa8e 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c | |||
@@ -773,7 +773,6 @@ static int platform_pmic_battery_remove(struct platform_device *pdev) | |||
773 | static struct platform_driver platform_pmic_battery_driver = { | 773 | static struct platform_driver platform_pmic_battery_driver = { |
774 | .driver = { | 774 | .driver = { |
775 | .name = DRIVER_NAME, | 775 | .name = DRIVER_NAME, |
776 | .owner = THIS_MODULE, | ||
777 | }, | 776 | }, |
778 | .probe = platform_pmic_battery_probe, | 777 | .probe = platform_pmic_battery_probe, |
779 | .remove = platform_pmic_battery_remove, | 778 | .remove = platform_pmic_battery_remove, |
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c index 6c8931d4ad62..9cd391d61819 100644 --- a/drivers/power/jz4740-battery.c +++ b/drivers/power/jz4740-battery.c | |||
@@ -406,7 +406,6 @@ static struct platform_driver jz_battery_driver = { | |||
406 | .remove = jz_battery_remove, | 406 | .remove = jz_battery_remove, |
407 | .driver = { | 407 | .driver = { |
408 | .name = "jz4740-battery", | 408 | .name = "jz4740-battery", |
409 | .owner = THIS_MODULE, | ||
410 | .pm = JZ_BATTERY_PM_OPS, | 409 | .pm = JZ_BATTERY_PM_OPS, |
411 | }, | 410 | }, |
412 | }; | 411 | }; |
diff --git a/drivers/power/lp8788-charger.c b/drivers/power/lp8788-charger.c index ed49b50b220b..21fc233c7d61 100644 --- a/drivers/power/lp8788-charger.c +++ b/drivers/power/lp8788-charger.c | |||
@@ -740,7 +740,6 @@ static struct platform_driver lp8788_charger_driver = { | |||
740 | .remove = lp8788_charger_remove, | 740 | .remove = lp8788_charger_remove, |
741 | .driver = { | 741 | .driver = { |
742 | .name = LP8788_DEV_CHARGER, | 742 | .name = LP8788_DEV_CHARGER, |
743 | .owner = THIS_MODULE, | ||
744 | }, | 743 | }, |
745 | }; | 744 | }; |
746 | module_platform_driver(lp8788_charger_driver); | 745 | module_platform_driver(lp8788_charger_driver); |
diff --git a/drivers/power/max14577_charger.c b/drivers/power/max14577_charger.c index 0a2bc7277026..ef4103ee6021 100644 --- a/drivers/power/max14577_charger.c +++ b/drivers/power/max14577_charger.c | |||
@@ -599,7 +599,6 @@ MODULE_DEVICE_TABLE(platform, max14577_charger_id); | |||
599 | 599 | ||
600 | static struct platform_driver max14577_charger_driver = { | 600 | static struct platform_driver max14577_charger_driver = { |
601 | .driver = { | 601 | .driver = { |
602 | .owner = THIS_MODULE, | ||
603 | .name = "max14577-charger", | 602 | .name = "max14577-charger", |
604 | }, | 603 | }, |
605 | .probe = max14577_charger_probe, | 604 | .probe = max14577_charger_probe, |
diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c index 08f0d7909b6b..99e3cdcd3e11 100644 --- a/drivers/power/max8903_charger.c +++ b/drivers/power/max8903_charger.c | |||
@@ -368,7 +368,6 @@ static struct platform_driver max8903_driver = { | |||
368 | .remove = max8903_remove, | 368 | .remove = max8903_remove, |
369 | .driver = { | 369 | .driver = { |
370 | .name = "max8903-charger", | 370 | .name = "max8903-charger", |
371 | .owner = THIS_MODULE, | ||
372 | }, | 371 | }, |
373 | }; | 372 | }; |
374 | 373 | ||
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c index 4bdedfed936d..aefa0c9a3007 100644 --- a/drivers/power/max8997_charger.c +++ b/drivers/power/max8997_charger.c | |||
@@ -181,7 +181,6 @@ static const struct platform_device_id max8997_battery_id[] = { | |||
181 | static struct platform_driver max8997_battery_driver = { | 181 | static struct platform_driver max8997_battery_driver = { |
182 | .driver = { | 182 | .driver = { |
183 | .name = "max8997-battery", | 183 | .name = "max8997-battery", |
184 | .owner = THIS_MODULE, | ||
185 | }, | 184 | }, |
186 | .probe = max8997_battery_probe, | 185 | .probe = max8997_battery_probe, |
187 | .remove = max8997_battery_remove, | 186 | .remove = max8997_battery_remove, |
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c index 5017470c2fc9..08694c7a9f38 100644 --- a/drivers/power/max8998_charger.c +++ b/drivers/power/max8998_charger.c | |||
@@ -195,7 +195,6 @@ static const struct platform_device_id max8998_battery_id[] = { | |||
195 | static struct platform_driver max8998_battery_driver = { | 195 | static struct platform_driver max8998_battery_driver = { |
196 | .driver = { | 196 | .driver = { |
197 | .name = "max8998-battery", | 197 | .name = "max8998-battery", |
198 | .owner = THIS_MODULE, | ||
199 | }, | 198 | }, |
200 | .probe = max8998_battery_probe, | 199 | .probe = max8998_battery_probe, |
201 | .remove = max8998_battery_remove, | 200 | .remove = max8998_battery_remove, |
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c index 1ec810ada5ed..ad9cde705de1 100644 --- a/drivers/power/olpc_battery.c +++ b/drivers/power/olpc_battery.c | |||
@@ -677,7 +677,6 @@ MODULE_DEVICE_TABLE(of, olpc_battery_ids); | |||
677 | static struct platform_driver olpc_battery_driver = { | 677 | static struct platform_driver olpc_battery_driver = { |
678 | .driver = { | 678 | .driver = { |
679 | .name = "olpc-battery", | 679 | .name = "olpc-battery", |
680 | .owner = THIS_MODULE, | ||
681 | .of_match_table = olpc_battery_ids, | 680 | .of_match_table = olpc_battery_ids, |
682 | }, | 681 | }, |
683 | .probe = olpc_battery_probe, | 682 | .probe = olpc_battery_probe, |
diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c index d5a2acfb8821..a01aacb32f59 100644 --- a/drivers/power/rx51_battery.c +++ b/drivers/power/rx51_battery.c | |||
@@ -281,7 +281,6 @@ static struct platform_driver rx51_battery_driver = { | |||
281 | .remove = rx51_battery_remove, | 281 | .remove = rx51_battery_remove, |
282 | .driver = { | 282 | .driver = { |
283 | .name = "rx51-battery", | 283 | .name = "rx51-battery", |
284 | .owner = THIS_MODULE, | ||
285 | .of_match_table = of_match_ptr(n900_battery_of_match), | 284 | .of_match_table = of_match_ptr(n900_battery_of_match), |
286 | }, | 285 | }, |
287 | }; | 286 | }; |
diff --git a/drivers/power/tps65090-charger.c b/drivers/power/tps65090-charger.c index 3e8ba97c8169..0f4e5971dff5 100644 --- a/drivers/power/tps65090-charger.c +++ b/drivers/power/tps65090-charger.c | |||
@@ -353,7 +353,6 @@ static struct platform_driver tps65090_charger_driver = { | |||
353 | .driver = { | 353 | .driver = { |
354 | .name = "tps65090-charger", | 354 | .name = "tps65090-charger", |
355 | .of_match_table = of_tps65090_charger_match, | 355 | .of_match_table = of_tps65090_charger_match, |
356 | .owner = THIS_MODULE, | ||
357 | }, | 356 | }, |
358 | .probe = tps65090_charger_probe, | 357 | .probe = tps65090_charger_probe, |
359 | .remove = tps65090_charger_remove, | 358 | .remove = tps65090_charger_remove, |
diff --git a/drivers/power/twl4030_charger.c b/drivers/power/twl4030_charger.c index 2598c588006e..d35b83e635b5 100644 --- a/drivers/power/twl4030_charger.c +++ b/drivers/power/twl4030_charger.c | |||
@@ -716,7 +716,6 @@ MODULE_DEVICE_TABLE(of, twl_bci_of_match); | |||
716 | static struct platform_driver twl4030_bci_driver = { | 716 | static struct platform_driver twl4030_bci_driver = { |
717 | .driver = { | 717 | .driver = { |
718 | .name = "twl4030_bci", | 718 | .name = "twl4030_bci", |
719 | .owner = THIS_MODULE, | ||
720 | .of_match_table = of_match_ptr(twl_bci_of_match), | 719 | .of_match_table = of_match_ptr(twl_bci_of_match), |
721 | }, | 720 | }, |
722 | .remove = __exit_p(twl4030_bci_remove), | 721 | .remove = __exit_p(twl4030_bci_remove), |
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c index 58f7348e6c22..a8e6203673ad 100644 --- a/drivers/power/wm97xx_battery.c +++ b/drivers/power/wm97xx_battery.c | |||
@@ -281,7 +281,6 @@ static int wm97xx_bat_remove(struct platform_device *dev) | |||
281 | static struct platform_driver wm97xx_bat_driver = { | 281 | static struct platform_driver wm97xx_bat_driver = { |
282 | .driver = { | 282 | .driver = { |
283 | .name = "wm97xx-battery", | 283 | .name = "wm97xx-battery", |
284 | .owner = THIS_MODULE, | ||
285 | #ifdef CONFIG_PM | 284 | #ifdef CONFIG_PM |
286 | .pm = &wm97xx_bat_pm_ops, | 285 | .pm = &wm97xx_bat_pm_ops, |
287 | #endif | 286 | #endif |