diff options
Diffstat (limited to 'drivers/power')
32 files changed, 0 insertions, 32 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 99a78d365ceb..69b80bcaa9e7 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c | |||
@@ -3281,7 +3281,6 @@ static struct platform_driver ab8500_fg_driver = { | |||
3281 | .resume = ab8500_fg_resume, | 3281 | .resume = ab8500_fg_resume, |
3282 | .driver = { | 3282 | .driver = { |
3283 | .name = "ab8500-fg", | 3283 | .name = "ab8500-fg", |
3284 | .owner = THIS_MODULE, | ||
3285 | .of_match_table = ab8500_fg_match, | 3284 | .of_match_table = ab8500_fg_match, |
3286 | }, | 3285 | }, |
3287 | }; | 3286 | }; |
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 ef8094a61f1e..649052e1f2d9 100644 --- a/drivers/power/charger-manager.c +++ b/drivers/power/charger-manager.c | |||
@@ -2086,7 +2086,6 @@ static const struct dev_pm_ops charger_manager_pm = { | |||
2086 | static struct platform_driver charger_manager_driver = { | 2086 | static struct platform_driver charger_manager_driver = { |
2087 | .driver = { | 2087 | .driver = { |
2088 | .name = "charger-manager", | 2088 | .name = "charger-manager", |
2089 | .owner = THIS_MODULE, | ||
2090 | .pm = &charger_manager_pm, | 2089 | .pm = &charger_manager_pm, |
2091 | .of_match_table = charger_manager_match, | 2090 | .of_match_table = charger_manager_match, |
2092 | }, | 2091 | }, |
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/reset/as3722-poweroff.c b/drivers/power/reset/as3722-poweroff.c index 684971199bd3..60d0295fffb1 100644 --- a/drivers/power/reset/as3722-poweroff.c +++ b/drivers/power/reset/as3722-poweroff.c | |||
@@ -82,7 +82,6 @@ static int as3722_poweroff_remove(struct platform_device *pdev) | |||
82 | static struct platform_driver as3722_poweroff_driver = { | 82 | static struct platform_driver as3722_poweroff_driver = { |
83 | .driver = { | 83 | .driver = { |
84 | .name = "as3722-power-off", | 84 | .name = "as3722-power-off", |
85 | .owner = THIS_MODULE, | ||
86 | }, | 85 | }, |
87 | .probe = as3722_poweroff_probe, | 86 | .probe = as3722_poweroff_probe, |
88 | .remove = as3722_poweroff_remove, | 87 | .remove = as3722_poweroff_remove, |
diff --git a/drivers/power/reset/brcmstb-reboot.c b/drivers/power/reset/brcmstb-reboot.c index 3f236924742a..c523ea7a90ee 100644 --- a/drivers/power/reset/brcmstb-reboot.c +++ b/drivers/power/reset/brcmstb-reboot.c | |||
@@ -107,7 +107,6 @@ static struct platform_driver brcmstb_reboot_driver = { | |||
107 | .probe = brcmstb_reboot_probe, | 107 | .probe = brcmstb_reboot_probe, |
108 | .driver = { | 108 | .driver = { |
109 | .name = "brcmstb-reboot", | 109 | .name = "brcmstb-reboot", |
110 | .owner = THIS_MODULE, | ||
111 | .of_match_table = of_match, | 110 | .of_match_table = of_match, |
112 | }, | 111 | }, |
113 | }; | 112 | }; |
diff --git a/drivers/power/reset/gpio-poweroff.c b/drivers/power/reset/gpio-poweroff.c index ce849bc9b269..e5332f1db8a7 100644 --- a/drivers/power/reset/gpio-poweroff.c +++ b/drivers/power/reset/gpio-poweroff.c | |||
@@ -99,7 +99,6 @@ static struct platform_driver gpio_poweroff_driver = { | |||
99 | .remove = gpio_poweroff_remove, | 99 | .remove = gpio_poweroff_remove, |
100 | .driver = { | 100 | .driver = { |
101 | .name = "poweroff-gpio", | 101 | .name = "poweroff-gpio", |
102 | .owner = THIS_MODULE, | ||
103 | .of_match_table = of_gpio_poweroff_match, | 102 | .of_match_table = of_gpio_poweroff_match, |
104 | }, | 103 | }, |
105 | }; | 104 | }; |
diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c index a76829b3f1cd..edb327efee8b 100644 --- a/drivers/power/reset/gpio-restart.c +++ b/drivers/power/reset/gpio-restart.c | |||
@@ -137,7 +137,6 @@ static struct platform_driver gpio_restart_driver = { | |||
137 | .remove = gpio_restart_remove, | 137 | .remove = gpio_restart_remove, |
138 | .driver = { | 138 | .driver = { |
139 | .name = "restart-gpio", | 139 | .name = "restart-gpio", |
140 | .owner = THIS_MODULE, | ||
141 | .of_match_table = of_gpio_restart_match, | 140 | .of_match_table = of_gpio_restart_match, |
142 | }, | 141 | }, |
143 | }; | 142 | }; |
diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c index 408a18fd91cb..86bc100818b2 100644 --- a/drivers/power/reset/keystone-reset.c +++ b/drivers/power/reset/keystone-reset.c | |||
@@ -153,7 +153,6 @@ static int rsctrl_probe(struct platform_device *pdev) | |||
153 | static struct platform_driver rsctrl_driver = { | 153 | static struct platform_driver rsctrl_driver = { |
154 | .probe = rsctrl_probe, | 154 | .probe = rsctrl_probe, |
155 | .driver = { | 155 | .driver = { |
156 | .owner = THIS_MODULE, | ||
157 | .name = KBUILD_MODNAME, | 156 | .name = KBUILD_MODNAME, |
158 | .of_match_table = rsctrl_of_match, | 157 | .of_match_table = rsctrl_of_match, |
159 | }, | 158 | }, |
diff --git a/drivers/power/reset/ltc2952-poweroff.c b/drivers/power/reset/ltc2952-poweroff.c index 116a1cef8f7b..34f38a3dc3ff 100644 --- a/drivers/power/reset/ltc2952-poweroff.c +++ b/drivers/power/reset/ltc2952-poweroff.c | |||
@@ -342,7 +342,6 @@ static struct platform_driver ltc2952_poweroff_driver = { | |||
342 | .remove = ltc2952_poweroff_remove, | 342 | .remove = ltc2952_poweroff_remove, |
343 | .driver = { | 343 | .driver = { |
344 | .name = "ltc2952-poweroff", | 344 | .name = "ltc2952-poweroff", |
345 | .owner = THIS_MODULE, | ||
346 | .of_match_table = of_ltc2952_poweroff_match, | 345 | .of_match_table = of_ltc2952_poweroff_match, |
347 | }, | 346 | }, |
348 | .suspend = ltc2952_poweroff_suspend, | 347 | .suspend = ltc2952_poweroff_suspend, |
diff --git a/drivers/power/reset/qnap-poweroff.c b/drivers/power/reset/qnap-poweroff.c index a75db7f8a92f..2789a61cec68 100644 --- a/drivers/power/reset/qnap-poweroff.c +++ b/drivers/power/reset/qnap-poweroff.c | |||
@@ -129,7 +129,6 @@ static struct platform_driver qnap_power_off_driver = { | |||
129 | .probe = qnap_power_off_probe, | 129 | .probe = qnap_power_off_probe, |
130 | .remove = qnap_power_off_remove, | 130 | .remove = qnap_power_off_remove, |
131 | .driver = { | 131 | .driver = { |
132 | .owner = THIS_MODULE, | ||
133 | .name = "qnap_power_off", | 132 | .name = "qnap_power_off", |
134 | .of_match_table = of_match_ptr(qnap_power_off_of_match_table), | 133 | .of_match_table = of_match_ptr(qnap_power_off_of_match_table), |
135 | }, | 134 | }, |
diff --git a/drivers/power/reset/restart-poweroff.c b/drivers/power/reset/restart-poweroff.c index edd707ee7281..f46f2c2e4648 100644 --- a/drivers/power/reset/restart-poweroff.c +++ b/drivers/power/reset/restart-poweroff.c | |||
@@ -55,7 +55,6 @@ static struct platform_driver restart_poweroff_driver = { | |||
55 | .remove = restart_poweroff_remove, | 55 | .remove = restart_poweroff_remove, |
56 | .driver = { | 56 | .driver = { |
57 | .name = "poweroff-restart", | 57 | .name = "poweroff-restart", |
58 | .owner = THIS_MODULE, | ||
59 | .of_match_table = of_restart_poweroff_match, | 58 | .of_match_table = of_restart_poweroff_match, |
60 | }, | 59 | }, |
61 | }; | 60 | }; |
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 |