diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:29 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:29 -0400 |
commit | 6c794b2654555d6af7572e3a8f13b2b39126df0c (patch) | |
tree | 1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator | |
parent | f05fae14a10ca0c07f176e680ef9ff9d348e7153 (diff) |
regulator: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/regulator')
61 files changed, 0 insertions, 67 deletions
diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800.c index 4e6c8c611905..832932bdc977 100644 --- a/drivers/regulator/88pm800.c +++ b/drivers/regulator/88pm800.c | |||
@@ -362,7 +362,6 @@ static int pm800_regulator_remove(struct platform_device *pdev) | |||
362 | static struct platform_driver pm800_regulator_driver = { | 362 | static struct platform_driver pm800_regulator_driver = { |
363 | .driver = { | 363 | .driver = { |
364 | .name = "88pm80x-regulator", | 364 | .name = "88pm80x-regulator", |
365 | .owner = THIS_MODULE, | ||
366 | }, | 365 | }, |
367 | .probe = pm800_regulator_probe, | 366 | .probe = pm800_regulator_probe, |
368 | .remove = pm800_regulator_remove, | 367 | .remove = pm800_regulator_remove, |
diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index 6d77dcd7dcf6..e04b333cc108 100644 --- a/drivers/regulator/88pm8607.c +++ b/drivers/regulator/88pm8607.c | |||
@@ -418,7 +418,6 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids); | |||
418 | static struct platform_driver pm8607_regulator_driver = { | 418 | static struct platform_driver pm8607_regulator_driver = { |
419 | .driver = { | 419 | .driver = { |
420 | .name = "88pm860x-regulator", | 420 | .name = "88pm860x-regulator", |
421 | .owner = THIS_MODULE, | ||
422 | }, | 421 | }, |
423 | .probe = pm8607_regulator_probe, | 422 | .probe = pm8607_regulator_probe, |
424 | .id_table = pm8607_regulator_driver_ids, | 423 | .id_table = pm8607_regulator_driver_ids, |
diff --git a/drivers/regulator/aat2870-regulator.c b/drivers/regulator/aat2870-regulator.c index c873ee0082cf..9dfabda8f478 100644 --- a/drivers/regulator/aat2870-regulator.c +++ b/drivers/regulator/aat2870-regulator.c | |||
@@ -191,7 +191,6 @@ static int aat2870_regulator_probe(struct platform_device *pdev) | |||
191 | static struct platform_driver aat2870_regulator_driver = { | 191 | static struct platform_driver aat2870_regulator_driver = { |
192 | .driver = { | 192 | .driver = { |
193 | .name = "aat2870-regulator", | 193 | .name = "aat2870-regulator", |
194 | .owner = THIS_MODULE, | ||
195 | }, | 194 | }, |
196 | .probe = aat2870_regulator_probe, | 195 | .probe = aat2870_regulator_probe, |
197 | }; | 196 | }; |
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index e10febe9ec34..de2644490f0d 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c | |||
@@ -721,7 +721,6 @@ static int ab3100_regulators_probe(struct platform_device *pdev) | |||
721 | static struct platform_driver ab3100_regulators_driver = { | 721 | static struct platform_driver ab3100_regulators_driver = { |
722 | .driver = { | 722 | .driver = { |
723 | .name = "ab3100-regulators", | 723 | .name = "ab3100-regulators", |
724 | .owner = THIS_MODULE, | ||
725 | }, | 724 | }, |
726 | .probe = ab3100_regulators_probe, | 725 | .probe = ab3100_regulators_probe, |
727 | .remove = ab3100_regulators_remove, | 726 | .remove = ab3100_regulators_remove, |
diff --git a/drivers/regulator/ab8500-ext.c b/drivers/regulator/ab8500-ext.c index 29c0faaf8eba..84c1ee39ddae 100644 --- a/drivers/regulator/ab8500-ext.c +++ b/drivers/regulator/ab8500-ext.c | |||
@@ -433,7 +433,6 @@ static struct platform_driver ab8500_ext_regulator_driver = { | |||
433 | .probe = ab8500_ext_regulator_probe, | 433 | .probe = ab8500_ext_regulator_probe, |
434 | .driver = { | 434 | .driver = { |
435 | .name = "ab8500-ext-regulator", | 435 | .name = "ab8500-ext-regulator", |
436 | .owner = THIS_MODULE, | ||
437 | }, | 436 | }, |
438 | }; | 437 | }; |
439 | 438 | ||
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 1fda14e12ea8..0f97514e3474 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c | |||
@@ -3075,7 +3075,6 @@ static struct platform_driver ab8500_regulator_driver = { | |||
3075 | .probe = ab8500_regulator_probe, | 3075 | .probe = ab8500_regulator_probe, |
3076 | .driver = { | 3076 | .driver = { |
3077 | .name = "ab8500-regulator", | 3077 | .name = "ab8500-regulator", |
3078 | .owner = THIS_MODULE, | ||
3079 | }, | 3078 | }, |
3080 | }; | 3079 | }; |
3081 | 3080 | ||
diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c index 4f730af70e7c..1d4d8e572786 100644 --- a/drivers/regulator/anatop-regulator.c +++ b/drivers/regulator/anatop-regulator.c | |||
@@ -308,7 +308,6 @@ static const struct of_device_id of_anatop_regulator_match_tbl[] = { | |||
308 | static struct platform_driver anatop_regulator_driver = { | 308 | static struct platform_driver anatop_regulator_driver = { |
309 | .driver = { | 309 | .driver = { |
310 | .name = "anatop_regulator", | 310 | .name = "anatop_regulator", |
311 | .owner = THIS_MODULE, | ||
312 | .of_match_table = of_anatop_regulator_match_tbl, | 311 | .of_match_table = of_anatop_regulator_match_tbl, |
313 | }, | 312 | }, |
314 | .probe = anatop_regulator_probe, | 313 | .probe = anatop_regulator_probe, |
diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index 4c9db589f6c1..9b0e96919578 100644 --- a/drivers/regulator/arizona-ldo1.c +++ b/drivers/regulator/arizona-ldo1.c | |||
@@ -296,7 +296,6 @@ static struct platform_driver arizona_ldo1_driver = { | |||
296 | .probe = arizona_ldo1_probe, | 296 | .probe = arizona_ldo1_probe, |
297 | .driver = { | 297 | .driver = { |
298 | .name = "arizona-ldo1", | 298 | .name = "arizona-ldo1", |
299 | .owner = THIS_MODULE, | ||
300 | }, | 299 | }, |
301 | }; | 300 | }; |
302 | 301 | ||
diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index ce9aca5f8ee7..9857c9f2f621 100644 --- a/drivers/regulator/arizona-micsupp.c +++ b/drivers/regulator/arizona-micsupp.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver arizona_micsupp_driver = { | |||
300 | .probe = arizona_micsupp_probe, | 300 | .probe = arizona_micsupp_probe, |
301 | .driver = { | 301 | .driver = { |
302 | .name = "arizona-micsupp", | 302 | .name = "arizona-micsupp", |
303 | .owner = THIS_MODULE, | ||
304 | }, | 303 | }, |
305 | }; | 304 | }; |
306 | 305 | ||
diff --git a/drivers/regulator/as3711-regulator.c b/drivers/regulator/as3711-regulator.c index 8459b0b648cd..c0e93b1332f7 100644 --- a/drivers/regulator/as3711-regulator.c +++ b/drivers/regulator/as3711-regulator.c | |||
@@ -267,7 +267,6 @@ static int as3711_regulator_probe(struct platform_device *pdev) | |||
267 | static struct platform_driver as3711_regulator_driver = { | 267 | static struct platform_driver as3711_regulator_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "as3711-regulator", | 269 | .name = "as3711-regulator", |
270 | .owner = THIS_MODULE, | ||
271 | }, | 270 | }, |
272 | .probe = as3711_regulator_probe, | 271 | .probe = as3711_regulator_probe, |
273 | }; | 272 | }; |
diff --git a/drivers/regulator/as3722-regulator.c b/drivers/regulator/as3722-regulator.c index b68f05f38537..8b046eec6ae0 100644 --- a/drivers/regulator/as3722-regulator.c +++ b/drivers/regulator/as3722-regulator.c | |||
@@ -916,7 +916,6 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match); | |||
916 | static struct platform_driver as3722_regulator_driver = { | 916 | static struct platform_driver as3722_regulator_driver = { |
917 | .driver = { | 917 | .driver = { |
918 | .name = "as3722-regulator", | 918 | .name = "as3722-regulator", |
919 | .owner = THIS_MODULE, | ||
920 | .of_match_table = of_as3722_regulator_match, | 919 | .of_match_table = of_as3722_regulator_match, |
921 | }, | 920 | }, |
922 | .probe = as3722_regulator_probe, | 921 | .probe = as3722_regulator_probe, |
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c index 2e1010a34ddc..f23d7e1f2ee7 100644 --- a/drivers/regulator/axp20x-regulator.c +++ b/drivers/regulator/axp20x-regulator.c | |||
@@ -275,7 +275,6 @@ static struct platform_driver axp20x_regulator_driver = { | |||
275 | .probe = axp20x_regulator_probe, | 275 | .probe = axp20x_regulator_probe, |
276 | .driver = { | 276 | .driver = { |
277 | .name = "axp20x-regulator", | 277 | .name = "axp20x-regulator", |
278 | .owner = THIS_MODULE, | ||
279 | }, | 278 | }, |
280 | }; | 279 | }; |
281 | 280 | ||
diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c index fe6ac69549a6..628430bdc312 100644 --- a/drivers/regulator/bcm590xx-regulator.c +++ b/drivers/regulator/bcm590xx-regulator.c | |||
@@ -453,7 +453,6 @@ static int bcm590xx_probe(struct platform_device *pdev) | |||
453 | static struct platform_driver bcm590xx_regulator_driver = { | 453 | static struct platform_driver bcm590xx_regulator_driver = { |
454 | .driver = { | 454 | .driver = { |
455 | .name = "bcm590xx-vregs", | 455 | .name = "bcm590xx-vregs", |
456 | .owner = THIS_MODULE, | ||
457 | }, | 456 | }, |
458 | .probe = bcm590xx_probe, | 457 | .probe = bcm590xx_probe, |
459 | }; | 458 | }; |
diff --git a/drivers/regulator/da903x.c b/drivers/regulator/da903x.c index b431ae357fcd..affa1b191314 100644 --- a/drivers/regulator/da903x.c +++ b/drivers/regulator/da903x.c | |||
@@ -475,7 +475,6 @@ static int da903x_regulator_probe(struct platform_device *pdev) | |||
475 | static struct platform_driver da903x_regulator_driver = { | 475 | static struct platform_driver da903x_regulator_driver = { |
476 | .driver = { | 476 | .driver = { |
477 | .name = "da903x-regulator", | 477 | .name = "da903x-regulator", |
478 | .owner = THIS_MODULE, | ||
479 | }, | 478 | }, |
480 | .probe = da903x_regulator_probe, | 479 | .probe = da903x_regulator_probe, |
481 | }; | 480 | }; |
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index 00033625a09c..8f42ae741774 100644 --- a/drivers/regulator/da9052-regulator.c +++ b/drivers/regulator/da9052-regulator.c | |||
@@ -463,7 +463,6 @@ static struct platform_driver da9052_regulator_driver = { | |||
463 | .probe = da9052_regulator_probe, | 463 | .probe = da9052_regulator_probe, |
464 | .driver = { | 464 | .driver = { |
465 | .name = "da9052-regulator", | 465 | .name = "da9052-regulator", |
466 | .owner = THIS_MODULE, | ||
467 | }, | 466 | }, |
468 | }; | 467 | }; |
469 | 468 | ||
diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c index 9516317e1a9f..cafdafbffcaf 100644 --- a/drivers/regulator/da9055-regulator.c +++ b/drivers/regulator/da9055-regulator.c | |||
@@ -665,7 +665,6 @@ static struct platform_driver da9055_regulator_driver = { | |||
665 | .probe = da9055_regulator_probe, | 665 | .probe = da9055_regulator_probe, |
666 | .driver = { | 666 | .driver = { |
667 | .name = "da9055-regulator", | 667 | .name = "da9055-regulator", |
668 | .owner = THIS_MODULE, | ||
669 | }, | 668 | }, |
670 | }; | 669 | }; |
671 | 670 | ||
diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c index 7c9461d13313..82e6cd39942d 100644 --- a/drivers/regulator/da9063-regulator.c +++ b/drivers/regulator/da9063-regulator.c | |||
@@ -896,7 +896,6 @@ static int da9063_regulator_remove(struct platform_device *pdev) | |||
896 | static struct platform_driver da9063_regulator_driver = { | 896 | static struct platform_driver da9063_regulator_driver = { |
897 | .driver = { | 897 | .driver = { |
898 | .name = DA9063_DRVNAME_REGULATORS, | 898 | .name = DA9063_DRVNAME_REGULATORS, |
899 | .owner = THIS_MODULE, | ||
900 | }, | 899 | }, |
901 | .probe = da9063_regulator_probe, | 900 | .probe = da9063_regulator_probe, |
902 | .remove = da9063_regulator_remove, | 901 | .remove = da9063_regulator_remove, |
diff --git a/drivers/regulator/db8500-prcmu.c b/drivers/regulator/db8500-prcmu.c index 617c1adca816..7cec535cf0bc 100644 --- a/drivers/regulator/db8500-prcmu.c +++ b/drivers/regulator/db8500-prcmu.c | |||
@@ -534,7 +534,6 @@ static int db8500_regulator_remove(struct platform_device *pdev) | |||
534 | static struct platform_driver db8500_regulator_driver = { | 534 | static struct platform_driver db8500_regulator_driver = { |
535 | .driver = { | 535 | .driver = { |
536 | .name = "db8500-prcmu-regulators", | 536 | .name = "db8500-prcmu-regulators", |
537 | .owner = THIS_MODULE, | ||
538 | }, | 537 | }, |
539 | .probe = db8500_regulator_probe, | 538 | .probe = db8500_regulator_probe, |
540 | .remove = db8500_regulator_remove, | 539 | .remove = db8500_regulator_remove, |
diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c index 2436db9e2ca3..933b529ac27f 100644 --- a/drivers/regulator/dummy.c +++ b/drivers/regulator/dummy.c | |||
@@ -63,7 +63,6 @@ static struct platform_driver dummy_regulator_driver = { | |||
63 | .probe = dummy_regulator_probe, | 63 | .probe = dummy_regulator_probe, |
64 | .driver = { | 64 | .driver = { |
65 | .name = "reg-dummy", | 65 | .name = "reg-dummy", |
66 | .owner = THIS_MODULE, | ||
67 | }, | 66 | }, |
68 | }; | 67 | }; |
69 | 68 | ||
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 354105eff1f8..47e9043a3a4f 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c | |||
@@ -207,7 +207,6 @@ static struct platform_driver regulator_fixed_voltage_driver = { | |||
207 | .probe = reg_fixed_voltage_probe, | 207 | .probe = reg_fixed_voltage_probe, |
208 | .driver = { | 208 | .driver = { |
209 | .name = "reg-fixed-voltage", | 209 | .name = "reg-fixed-voltage", |
210 | .owner = THIS_MODULE, | ||
211 | .of_match_table = of_match_ptr(fixed_of_match), | 210 | .of_match_table = of_match_ptr(fixed_of_match), |
212 | }, | 211 | }, |
213 | }; | 212 | }; |
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index 989b23b377c0..17fa02554c3d 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c | |||
@@ -388,7 +388,6 @@ static struct platform_driver gpio_regulator_driver = { | |||
388 | .remove = gpio_regulator_remove, | 388 | .remove = gpio_regulator_remove, |
389 | .driver = { | 389 | .driver = { |
390 | .name = "gpio-regulator", | 390 | .name = "gpio-regulator", |
391 | .owner = THIS_MODULE, | ||
392 | .of_match_table = of_match_ptr(regulator_gpio_of_match), | 391 | .of_match_table = of_match_ptr(regulator_gpio_of_match), |
393 | }, | 392 | }, |
394 | }; | 393 | }; |
diff --git a/drivers/regulator/hi6421-regulator.c b/drivers/regulator/hi6421-regulator.c index 156d0d1a55f1..42dc5fb8c899 100644 --- a/drivers/regulator/hi6421-regulator.c +++ b/drivers/regulator/hi6421-regulator.c | |||
@@ -623,7 +623,6 @@ static int hi6421_regulator_probe(struct platform_device *pdev) | |||
623 | static struct platform_driver hi6421_regulator_driver = { | 623 | static struct platform_driver hi6421_regulator_driver = { |
624 | .driver = { | 624 | .driver = { |
625 | .name = "hi6421-regulator", | 625 | .name = "hi6421-regulator", |
626 | .owner = THIS_MODULE, | ||
627 | }, | 626 | }, |
628 | .probe = hi6421_regulator_probe, | 627 | .probe = hi6421_regulator_probe, |
629 | }; | 628 | }; |
diff --git a/drivers/regulator/lp8788-buck.c b/drivers/regulator/lp8788-buck.c index 948afc249e29..a97bed90d39b 100644 --- a/drivers/regulator/lp8788-buck.c +++ b/drivers/regulator/lp8788-buck.c | |||
@@ -533,7 +533,6 @@ static struct platform_driver lp8788_buck_driver = { | |||
533 | .probe = lp8788_buck_probe, | 533 | .probe = lp8788_buck_probe, |
534 | .driver = { | 534 | .driver = { |
535 | .name = LP8788_DEV_BUCK, | 535 | .name = LP8788_DEV_BUCK, |
536 | .owner = THIS_MODULE, | ||
537 | }, | 536 | }, |
538 | }; | 537 | }; |
539 | 538 | ||
diff --git a/drivers/regulator/lp8788-ldo.c b/drivers/regulator/lp8788-ldo.c index b9a29a29933f..9f22d079c8cc 100644 --- a/drivers/regulator/lp8788-ldo.c +++ b/drivers/regulator/lp8788-ldo.c | |||
@@ -561,7 +561,6 @@ static struct platform_driver lp8788_dldo_driver = { | |||
561 | .probe = lp8788_dldo_probe, | 561 | .probe = lp8788_dldo_probe, |
562 | .driver = { | 562 | .driver = { |
563 | .name = LP8788_DEV_DLDO, | 563 | .name = LP8788_DEV_DLDO, |
564 | .owner = THIS_MODULE, | ||
565 | }, | 564 | }, |
566 | }; | 565 | }; |
567 | 566 | ||
@@ -611,7 +610,6 @@ static struct platform_driver lp8788_aldo_driver = { | |||
611 | .probe = lp8788_aldo_probe, | 610 | .probe = lp8788_aldo_probe, |
612 | .driver = { | 611 | .driver = { |
613 | .name = LP8788_DEV_ALDO, | 612 | .name = LP8788_DEV_ALDO, |
614 | .owner = THIS_MODULE, | ||
615 | }, | 613 | }, |
616 | }; | 614 | }; |
617 | 615 | ||
diff --git a/drivers/regulator/max14577.c b/drivers/regulator/max14577.c index 0ff5a20ac958..bf9a44c5fdd2 100644 --- a/drivers/regulator/max14577.c +++ b/drivers/regulator/max14577.c | |||
@@ -371,7 +371,6 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id); | |||
371 | 371 | ||
372 | static struct platform_driver max14577_regulator_driver = { | 372 | static struct platform_driver max14577_regulator_driver = { |
373 | .driver = { | 373 | .driver = { |
374 | .owner = THIS_MODULE, | ||
375 | .name = "max14577-regulator", | 374 | .name = "max14577-regulator", |
376 | }, | 375 | }, |
377 | .probe = max14577_regulator_probe, | 376 | .probe = max14577_regulator_probe, |
diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c index ef1af2debbd2..a95689631bf8 100644 --- a/drivers/regulator/max77686.c +++ b/drivers/regulator/max77686.c | |||
@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id); | |||
500 | static struct platform_driver max77686_pmic_driver = { | 500 | static struct platform_driver max77686_pmic_driver = { |
501 | .driver = { | 501 | .driver = { |
502 | .name = "max77686-pmic", | 502 | .name = "max77686-pmic", |
503 | .owner = THIS_MODULE, | ||
504 | }, | 503 | }, |
505 | .probe = max77686_pmic_probe, | 504 | .probe = max77686_pmic_probe, |
506 | .id_table = max77686_pmic_id, | 505 | .id_table = max77686_pmic_id, |
diff --git a/drivers/regulator/max77693.c b/drivers/regulator/max77693.c index c67ff05fc1dd..b0024e90e533 100644 --- a/drivers/regulator/max77693.c +++ b/drivers/regulator/max77693.c | |||
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id); | |||
267 | static struct platform_driver max77693_pmic_driver = { | 267 | static struct platform_driver max77693_pmic_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "max77693-pmic", | 269 | .name = "max77693-pmic", |
270 | .owner = THIS_MODULE, | ||
271 | }, | 270 | }, |
272 | .probe = max77693_pmic_probe, | 271 | .probe = max77693_pmic_probe, |
273 | .id_table = max77693_pmic_id, | 272 | .id_table = max77693_pmic_id, |
diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c index d89792b084e9..e873da75f351 100644 --- a/drivers/regulator/max77802.c +++ b/drivers/regulator/max77802.c | |||
@@ -573,7 +573,6 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id); | |||
573 | static struct platform_driver max77802_pmic_driver = { | 573 | static struct platform_driver max77802_pmic_driver = { |
574 | .driver = { | 574 | .driver = { |
575 | .name = "max77802-pmic", | 575 | .name = "max77802-pmic", |
576 | .owner = THIS_MODULE, | ||
577 | }, | 576 | }, |
578 | .probe = max77802_pmic_probe, | 577 | .probe = max77802_pmic_probe, |
579 | .id_table = max77802_pmic_id, | 578 | .id_table = max77802_pmic_id, |
diff --git a/drivers/regulator/max8907-regulator.c b/drivers/regulator/max8907-regulator.c index 3426be89c9f6..5e941db5ccaf 100644 --- a/drivers/regulator/max8907-regulator.c +++ b/drivers/regulator/max8907-regulator.c | |||
@@ -366,7 +366,6 @@ static int max8907_regulator_probe(struct platform_device *pdev) | |||
366 | static struct platform_driver max8907_regulator_driver = { | 366 | static struct platform_driver max8907_regulator_driver = { |
367 | .driver = { | 367 | .driver = { |
368 | .name = "max8907-regulator", | 368 | .name = "max8907-regulator", |
369 | .owner = THIS_MODULE, | ||
370 | }, | 369 | }, |
371 | .probe = max8907_regulator_probe, | 370 | .probe = max8907_regulator_probe, |
372 | }; | 371 | }; |
diff --git a/drivers/regulator/max8925-regulator.c b/drivers/regulator/max8925-regulator.c index 7770777befc4..c802f0239dc7 100644 --- a/drivers/regulator/max8925-regulator.c +++ b/drivers/regulator/max8925-regulator.c | |||
@@ -324,7 +324,6 @@ static int max8925_regulator_probe(struct platform_device *pdev) | |||
324 | static struct platform_driver max8925_regulator_driver = { | 324 | static struct platform_driver max8925_regulator_driver = { |
325 | .driver = { | 325 | .driver = { |
326 | .name = "max8925-regulator", | 326 | .name = "max8925-regulator", |
327 | .owner = THIS_MODULE, | ||
328 | }, | 327 | }, |
329 | .probe = max8925_regulator_probe, | 328 | .probe = max8925_regulator_probe, |
330 | }; | 329 | }; |
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index 9c31e215a521..0767ae4f1280 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c | |||
@@ -1218,7 +1218,6 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id); | |||
1218 | static struct platform_driver max8997_pmic_driver = { | 1218 | static struct platform_driver max8997_pmic_driver = { |
1219 | .driver = { | 1219 | .driver = { |
1220 | .name = "max8997-pmic", | 1220 | .name = "max8997-pmic", |
1221 | .owner = THIS_MODULE, | ||
1222 | }, | 1221 | }, |
1223 | .probe = max8997_pmic_probe, | 1222 | .probe = max8997_pmic_probe, |
1224 | .id_table = max8997_pmic_id, | 1223 | .id_table = max8997_pmic_id, |
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c index 961091b46557..9978d616125f 100644 --- a/drivers/regulator/max8998.c +++ b/drivers/regulator/max8998.c | |||
@@ -894,7 +894,6 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id); | |||
894 | static struct platform_driver max8998_pmic_driver = { | 894 | static struct platform_driver max8998_pmic_driver = { |
895 | .driver = { | 895 | .driver = { |
896 | .name = "max8998-pmic", | 896 | .name = "max8998-pmic", |
897 | .owner = THIS_MODULE, | ||
898 | }, | 897 | }, |
899 | .probe = max8998_pmic_probe, | 898 | .probe = max8998_pmic_probe, |
900 | .id_table = max8998_pmic_id, | 899 | .id_table = max8998_pmic_id, |
diff --git a/drivers/regulator/mc13783-regulator.c b/drivers/regulator/mc13783-regulator.c index 7f4a67edf780..fe4c7d677f9c 100644 --- a/drivers/regulator/mc13783-regulator.c +++ b/drivers/regulator/mc13783-regulator.c | |||
@@ -459,7 +459,6 @@ static int mc13783_regulator_probe(struct platform_device *pdev) | |||
459 | static struct platform_driver mc13783_regulator_driver = { | 459 | static struct platform_driver mc13783_regulator_driver = { |
460 | .driver = { | 460 | .driver = { |
461 | .name = "mc13783-regulator", | 461 | .name = "mc13783-regulator", |
462 | .owner = THIS_MODULE, | ||
463 | }, | 462 | }, |
464 | .probe = mc13783_regulator_probe, | 463 | .probe = mc13783_regulator_probe, |
465 | }; | 464 | }; |
diff --git a/drivers/regulator/mc13892-regulator.c b/drivers/regulator/mc13892-regulator.c index 793b662a1967..0d17c9206816 100644 --- a/drivers/regulator/mc13892-regulator.c +++ b/drivers/regulator/mc13892-regulator.c | |||
@@ -633,7 +633,6 @@ err_unlock: | |||
633 | static struct platform_driver mc13892_regulator_driver = { | 633 | static struct platform_driver mc13892_regulator_driver = { |
634 | .driver = { | 634 | .driver = { |
635 | .name = "mc13892-regulator", | 635 | .name = "mc13892-regulator", |
636 | .owner = THIS_MODULE, | ||
637 | }, | 636 | }, |
638 | .probe = mc13892_regulator_probe, | 637 | .probe = mc13892_regulator_probe, |
639 | }; | 638 | }; |
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 1878e5b567ef..9205f433573c 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c | |||
@@ -1610,7 +1610,6 @@ static struct platform_driver palmas_driver = { | |||
1610 | .driver = { | 1610 | .driver = { |
1611 | .name = "palmas-pmic", | 1611 | .name = "palmas-pmic", |
1612 | .of_match_table = of_palmas_match_tbl, | 1612 | .of_match_table = of_palmas_match_tbl, |
1613 | .owner = THIS_MODULE, | ||
1614 | }, | 1613 | }, |
1615 | .probe = palmas_regulators_probe, | 1614 | .probe = palmas_regulators_probe, |
1616 | }; | 1615 | }; |
diff --git a/drivers/regulator/pbias-regulator.c b/drivers/regulator/pbias-regulator.c index 6d02d68dfb46..bd2b75c0d1d1 100644 --- a/drivers/regulator/pbias-regulator.c +++ b/drivers/regulator/pbias-regulator.c | |||
@@ -185,7 +185,6 @@ static struct platform_driver pbias_regulator_driver = { | |||
185 | .probe = pbias_regulator_probe, | 185 | .probe = pbias_regulator_probe, |
186 | .driver = { | 186 | .driver = { |
187 | .name = "pbias-regulator", | 187 | .name = "pbias-regulator", |
188 | .owner = THIS_MODULE, | ||
189 | .of_match_table = of_match_ptr(pbias_of_match), | 188 | .of_match_table = of_match_ptr(pbias_of_match), |
190 | }, | 189 | }, |
191 | }; | 190 | }; |
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c index 3727b7d0e9ac..9b16e6158f15 100644 --- a/drivers/regulator/pcap-regulator.c +++ b/drivers/regulator/pcap-regulator.c | |||
@@ -259,7 +259,6 @@ static int pcap_regulator_probe(struct platform_device *pdev) | |||
259 | static struct platform_driver pcap_regulator_driver = { | 259 | static struct platform_driver pcap_regulator_driver = { |
260 | .driver = { | 260 | .driver = { |
261 | .name = "pcap-regulator", | 261 | .name = "pcap-regulator", |
262 | .owner = THIS_MODULE, | ||
263 | }, | 262 | }, |
264 | .probe = pcap_regulator_probe, | 263 | .probe = pcap_regulator_probe, |
265 | }; | 264 | }; |
diff --git a/drivers/regulator/pwm-regulator.c b/drivers/regulator/pwm-regulator.c index d3f55eaea058..914b88ba370a 100644 --- a/drivers/regulator/pwm-regulator.c +++ b/drivers/regulator/pwm-regulator.c | |||
@@ -183,7 +183,6 @@ MODULE_DEVICE_TABLE(of, pwm_of_match); | |||
183 | static struct platform_driver pwm_regulator_driver = { | 183 | static struct platform_driver pwm_regulator_driver = { |
184 | .driver = { | 184 | .driver = { |
185 | .name = "pwm-regulator", | 185 | .name = "pwm-regulator", |
186 | .owner = THIS_MODULE, | ||
187 | .of_match_table = of_match_ptr(pwm_of_match), | 186 | .of_match_table = of_match_ptr(pwm_of_match), |
188 | }, | 187 | }, |
189 | .probe = pwm_regulator_probe, | 188 | .probe = pwm_regulator_probe, |
diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index b55cd5b50ebe..b8692546a7f3 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/drivers/regulator/qcom_rpm-regulator.c | |||
@@ -777,7 +777,6 @@ static struct platform_driver rpm_reg_driver = { | |||
777 | .probe = rpm_reg_probe, | 777 | .probe = rpm_reg_probe, |
778 | .driver = { | 778 | .driver = { |
779 | .name = "qcom_rpm_reg", | 779 | .name = "qcom_rpm_reg", |
780 | .owner = THIS_MODULE, | ||
781 | .of_match_table = of_match_ptr(rpm_of_match), | 780 | .of_match_table = of_match_ptr(rpm_of_match), |
782 | }, | 781 | }, |
783 | }; | 782 | }; |
diff --git a/drivers/regulator/rc5t583-regulator.c b/drivers/regulator/rc5t583-regulator.c index 4c414ae109ae..d2e67c512195 100644 --- a/drivers/regulator/rc5t583-regulator.c +++ b/drivers/regulator/rc5t583-regulator.c | |||
@@ -179,7 +179,6 @@ skip_ext_pwr_config: | |||
179 | static struct platform_driver rc5t583_regulator_driver = { | 179 | static struct platform_driver rc5t583_regulator_driver = { |
180 | .driver = { | 180 | .driver = { |
181 | .name = "rc5t583-regulator", | 181 | .name = "rc5t583-regulator", |
182 | .owner = THIS_MODULE, | ||
183 | }, | 182 | }, |
184 | .probe = rc5t583_regulator_probe, | 183 | .probe = rc5t583_regulator_probe, |
185 | }; | 184 | }; |
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index e305416d7697..1ef296c41b2d 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c | |||
@@ -368,7 +368,6 @@ static struct platform_driver rk808_regulator_driver = { | |||
368 | .probe = rk808_regulator_probe, | 368 | .probe = rk808_regulator_probe, |
369 | .driver = { | 369 | .driver = { |
370 | .name = "rk808-regulator", | 370 | .name = "rk808-regulator", |
371 | .owner = THIS_MODULE, | ||
372 | }, | 371 | }, |
373 | }; | 372 | }; |
374 | 373 | ||
diff --git a/drivers/regulator/s2mpa01.c b/drivers/regulator/s2mpa01.c index 4acefa6b462e..5f4b7d3380d6 100644 --- a/drivers/regulator/s2mpa01.c +++ b/drivers/regulator/s2mpa01.c | |||
@@ -405,7 +405,6 @@ MODULE_DEVICE_TABLE(platform, s2mpa01_pmic_id); | |||
405 | static struct platform_driver s2mpa01_pmic_driver = { | 405 | static struct platform_driver s2mpa01_pmic_driver = { |
406 | .driver = { | 406 | .driver = { |
407 | .name = "s2mpa01-pmic", | 407 | .name = "s2mpa01-pmic", |
408 | .owner = THIS_MODULE, | ||
409 | }, | 408 | }, |
410 | .probe = s2mpa01_pmic_probe, | 409 | .probe = s2mpa01_pmic_probe, |
411 | .id_table = s2mpa01_pmic_id, | 410 | .id_table = s2mpa01_pmic_id, |
diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index adab82d5279f..5248d36927ff 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c | |||
@@ -936,7 +936,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_pmic_id); | |||
936 | static struct platform_driver s2mps11_pmic_driver = { | 936 | static struct platform_driver s2mps11_pmic_driver = { |
937 | .driver = { | 937 | .driver = { |
938 | .name = "s2mps11-pmic", | 938 | .name = "s2mps11-pmic", |
939 | .owner = THIS_MODULE, | ||
940 | }, | 939 | }, |
941 | .probe = s2mps11_pmic_probe, | 940 | .probe = s2mps11_pmic_probe, |
942 | .id_table = s2mps11_pmic_id, | 941 | .id_table = s2mps11_pmic_id, |
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index 0ab5cbeeb797..684bd9ff9e02 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regulator/s5m8767.c | |||
@@ -986,7 +986,6 @@ MODULE_DEVICE_TABLE(platform, s5m8767_pmic_id); | |||
986 | static struct platform_driver s5m8767_pmic_driver = { | 986 | static struct platform_driver s5m8767_pmic_driver = { |
987 | .driver = { | 987 | .driver = { |
988 | .name = "s5m8767-pmic", | 988 | .name = "s5m8767-pmic", |
989 | .owner = THIS_MODULE, | ||
990 | }, | 989 | }, |
991 | .probe = s5m8767_pmic_probe, | 990 | .probe = s5m8767_pmic_probe, |
992 | .id_table = s5m8767_pmic_id, | 991 | .id_table = s5m8767_pmic_id, |
diff --git a/drivers/regulator/stw481x-vmmc.c b/drivers/regulator/stw481x-vmmc.c index a7e152696a02..0cc35b1ccdab 100644 --- a/drivers/regulator/stw481x-vmmc.c +++ b/drivers/regulator/stw481x-vmmc.c | |||
@@ -94,7 +94,6 @@ static const struct of_device_id stw481x_vmmc_match[] = { | |||
94 | static struct platform_driver stw481x_vmmc_regulator_driver = { | 94 | static struct platform_driver stw481x_vmmc_regulator_driver = { |
95 | .driver = { | 95 | .driver = { |
96 | .name = "stw481x-vmmc-regulator", | 96 | .name = "stw481x-vmmc-regulator", |
97 | .owner = THIS_MODULE, | ||
98 | .of_match_table = stw481x_vmmc_match, | 97 | .of_match_table = stw481x_vmmc_match, |
99 | }, | 98 | }, |
100 | .probe = stw481x_vmmc_regulator_probe, | 99 | .probe = stw481x_vmmc_regulator_probe, |
diff --git a/drivers/regulator/ti-abb-regulator.c b/drivers/regulator/ti-abb-regulator.c index a2dabb575b97..340faf329fbb 100644 --- a/drivers/regulator/ti-abb-regulator.c +++ b/drivers/regulator/ti-abb-regulator.c | |||
@@ -891,7 +891,6 @@ static struct platform_driver ti_abb_driver = { | |||
891 | .probe = ti_abb_probe, | 891 | .probe = ti_abb_probe, |
892 | .driver = { | 892 | .driver = { |
893 | .name = "ti_abb", | 893 | .name = "ti_abb", |
894 | .owner = THIS_MODULE, | ||
895 | .of_match_table = of_match_ptr(ti_abb_of_match), | 894 | .of_match_table = of_match_ptr(ti_abb_of_match), |
896 | }, | 895 | }, |
897 | }; | 896 | }; |
diff --git a/drivers/regulator/tps6105x-regulator.c b/drivers/regulator/tps6105x-regulator.c index c1e33a3d397b..3510b3e7330a 100644 --- a/drivers/regulator/tps6105x-regulator.c +++ b/drivers/regulator/tps6105x-regulator.c | |||
@@ -163,7 +163,6 @@ static int tps6105x_regulator_probe(struct platform_device *pdev) | |||
163 | static struct platform_driver tps6105x_regulator_driver = { | 163 | static struct platform_driver tps6105x_regulator_driver = { |
164 | .driver = { | 164 | .driver = { |
165 | .name = "tps6105x-regulator", | 165 | .name = "tps6105x-regulator", |
166 | .owner = THIS_MODULE, | ||
167 | }, | 166 | }, |
168 | .probe = tps6105x_regulator_probe, | 167 | .probe = tps6105x_regulator_probe, |
169 | }; | 168 | }; |
diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c index 98e66ce26723..dad0bac09ecf 100644 --- a/drivers/regulator/tps6507x-regulator.c +++ b/drivers/regulator/tps6507x-regulator.c | |||
@@ -519,7 +519,6 @@ static int tps6507x_pmic_probe(struct platform_device *pdev) | |||
519 | static struct platform_driver tps6507x_pmic_driver = { | 519 | static struct platform_driver tps6507x_pmic_driver = { |
520 | .driver = { | 520 | .driver = { |
521 | .name = "tps6507x-pmic", | 521 | .name = "tps6507x-pmic", |
522 | .owner = THIS_MODULE, | ||
523 | }, | 522 | }, |
524 | .probe = tps6507x_pmic_probe, | 523 | .probe = tps6507x_pmic_probe, |
525 | }; | 524 | }; |
diff --git a/drivers/regulator/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c index d5df1e9ad1da..5e1a67ade71f 100644 --- a/drivers/regulator/tps65090-regulator.c +++ b/drivers/regulator/tps65090-regulator.c | |||
@@ -507,7 +507,6 @@ static int tps65090_regulator_probe(struct platform_device *pdev) | |||
507 | static struct platform_driver tps65090_regulator_driver = { | 507 | static struct platform_driver tps65090_regulator_driver = { |
508 | .driver = { | 508 | .driver = { |
509 | .name = "tps65090-pmic", | 509 | .name = "tps65090-pmic", |
510 | .owner = THIS_MODULE, | ||
511 | }, | 510 | }, |
512 | .probe = tps65090_regulator_probe, | 511 | .probe = tps65090_regulator_probe, |
513 | }; | 512 | }; |
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c index f0a40281b9c1..e2b97ac6a9fa 100644 --- a/drivers/regulator/tps65218-regulator.c +++ b/drivers/regulator/tps65218-regulator.c | |||
@@ -255,7 +255,6 @@ static int tps65218_regulator_probe(struct platform_device *pdev) | |||
255 | static struct platform_driver tps65218_regulator_driver = { | 255 | static struct platform_driver tps65218_regulator_driver = { |
256 | .driver = { | 256 | .driver = { |
257 | .name = "tps65218-pmic", | 257 | .name = "tps65218-pmic", |
258 | .owner = THIS_MODULE, | ||
259 | .of_match_table = tps65218_of_match, | 258 | .of_match_table = tps65218_of_match, |
260 | }, | 259 | }, |
261 | .probe = tps65218_regulator_probe, | 260 | .probe = tps65218_regulator_probe, |
diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c index ccbb9f150b4e..2852de05d64d 100644 --- a/drivers/regulator/tps6586x-regulator.c +++ b/drivers/regulator/tps6586x-regulator.c | |||
@@ -522,7 +522,6 @@ static int tps6586x_regulator_probe(struct platform_device *pdev) | |||
522 | static struct platform_driver tps6586x_regulator_driver = { | 522 | static struct platform_driver tps6586x_regulator_driver = { |
523 | .driver = { | 523 | .driver = { |
524 | .name = "tps6586x-regulator", | 524 | .name = "tps6586x-regulator", |
525 | .owner = THIS_MODULE, | ||
526 | }, | 525 | }, |
527 | .probe = tps6586x_regulator_probe, | 526 | .probe = tps6586x_regulator_probe, |
528 | }; | 527 | }; |
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index 18fc991175bc..e2cffe01b807 100644 --- a/drivers/regulator/tps65910-regulator.c +++ b/drivers/regulator/tps65910-regulator.c | |||
@@ -1245,7 +1245,6 @@ static void tps65910_shutdown(struct platform_device *pdev) | |||
1245 | static struct platform_driver tps65910_driver = { | 1245 | static struct platform_driver tps65910_driver = { |
1246 | .driver = { | 1246 | .driver = { |
1247 | .name = "tps65910-pmic", | 1247 | .name = "tps65910-pmic", |
1248 | .owner = THIS_MODULE, | ||
1249 | }, | 1248 | }, |
1250 | .probe = tps65910_probe, | 1249 | .probe = tps65910_probe, |
1251 | .shutdown = tps65910_shutdown, | 1250 | .shutdown = tps65910_shutdown, |
diff --git a/drivers/regulator/tps65912-regulator.c b/drivers/regulator/tps65912-regulator.c index 9cafaa0f9455..9503d5481a52 100644 --- a/drivers/regulator/tps65912-regulator.c +++ b/drivers/regulator/tps65912-regulator.c | |||
@@ -519,7 +519,6 @@ static int tps65912_probe(struct platform_device *pdev) | |||
519 | static struct platform_driver tps65912_driver = { | 519 | static struct platform_driver tps65912_driver = { |
520 | .driver = { | 520 | .driver = { |
521 | .name = "tps65912-pmic", | 521 | .name = "tps65912-pmic", |
522 | .owner = THIS_MODULE, | ||
523 | }, | 522 | }, |
524 | .probe = tps65912_probe, | 523 | .probe = tps65912_probe, |
525 | }; | 524 | }; |
diff --git a/drivers/regulator/tps80031-regulator.c b/drivers/regulator/tps80031-regulator.c index 26aa6d9c308f..d4cc60ad18ae 100644 --- a/drivers/regulator/tps80031-regulator.c +++ b/drivers/regulator/tps80031-regulator.c | |||
@@ -746,7 +746,6 @@ static int tps80031_regulator_probe(struct platform_device *pdev) | |||
746 | static struct platform_driver tps80031_regulator_driver = { | 746 | static struct platform_driver tps80031_regulator_driver = { |
747 | .driver = { | 747 | .driver = { |
748 | .name = "tps80031-pmic", | 748 | .name = "tps80031-pmic", |
749 | .owner = THIS_MODULE, | ||
750 | }, | 749 | }, |
751 | .probe = tps80031_regulator_probe, | 750 | .probe = tps80031_regulator_probe, |
752 | }; | 751 | }; |
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c index 0b4f8660fdb4..00c49e7cb345 100644 --- a/drivers/regulator/twl-regulator.c +++ b/drivers/regulator/twl-regulator.c | |||
@@ -1220,7 +1220,6 @@ static struct platform_driver twlreg_driver = { | |||
1220 | */ | 1220 | */ |
1221 | .driver = { | 1221 | .driver = { |
1222 | .name = "twl_reg", | 1222 | .name = "twl_reg", |
1223 | .owner = THIS_MODULE, | ||
1224 | .of_match_table = of_match_ptr(twl_of_match), | 1223 | .of_match_table = of_match_ptr(twl_of_match), |
1225 | }, | 1224 | }, |
1226 | }; | 1225 | }; |
diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c index 02e7267ccf92..6ab78bdbe138 100644 --- a/drivers/regulator/vexpress.c +++ b/drivers/regulator/vexpress.c | |||
@@ -107,7 +107,6 @@ static struct platform_driver vexpress_regulator_driver = { | |||
107 | .probe = vexpress_regulator_probe, | 107 | .probe = vexpress_regulator_probe, |
108 | .driver = { | 108 | .driver = { |
109 | .name = DRVNAME, | 109 | .name = DRVNAME, |
110 | .owner = THIS_MODULE, | ||
111 | .of_match_table = vexpress_regulator_of_match, | 110 | .of_match_table = vexpress_regulator_of_match, |
112 | }, | 111 | }, |
113 | }; | 112 | }; |
diff --git a/drivers/regulator/virtual.c b/drivers/regulator/virtual.c index 6ff95b045984..a6f1c7a9914f 100644 --- a/drivers/regulator/virtual.c +++ b/drivers/regulator/virtual.c | |||
@@ -338,7 +338,6 @@ static struct platform_driver regulator_virtual_consumer_driver = { | |||
338 | .remove = regulator_virtual_remove, | 338 | .remove = regulator_virtual_remove, |
339 | .driver = { | 339 | .driver = { |
340 | .name = "reg-virt-consumer", | 340 | .name = "reg-virt-consumer", |
341 | .owner = THIS_MODULE, | ||
342 | }, | 341 | }, |
343 | }; | 342 | }; |
344 | 343 | ||
diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c index 0d88a82ab2a2..0d7e164a5e76 100644 --- a/drivers/regulator/wm831x-dcdc.c +++ b/drivers/regulator/wm831x-dcdc.c | |||
@@ -562,7 +562,6 @@ static struct platform_driver wm831x_buckv_driver = { | |||
562 | .probe = wm831x_buckv_probe, | 562 | .probe = wm831x_buckv_probe, |
563 | .driver = { | 563 | .driver = { |
564 | .name = "wm831x-buckv", | 564 | .name = "wm831x-buckv", |
565 | .owner = THIS_MODULE, | ||
566 | }, | 565 | }, |
567 | }; | 566 | }; |
568 | 567 | ||
@@ -689,7 +688,6 @@ static struct platform_driver wm831x_buckp_driver = { | |||
689 | .probe = wm831x_buckp_probe, | 688 | .probe = wm831x_buckp_probe, |
690 | .driver = { | 689 | .driver = { |
691 | .name = "wm831x-buckp", | 690 | .name = "wm831x-buckp", |
692 | .owner = THIS_MODULE, | ||
693 | }, | 691 | }, |
694 | }; | 692 | }; |
695 | 693 | ||
@@ -804,7 +802,6 @@ static struct platform_driver wm831x_boostp_driver = { | |||
804 | .probe = wm831x_boostp_probe, | 802 | .probe = wm831x_boostp_probe, |
805 | .driver = { | 803 | .driver = { |
806 | .name = "wm831x-boostp", | 804 | .name = "wm831x-boostp", |
807 | .owner = THIS_MODULE, | ||
808 | }, | 805 | }, |
809 | }; | 806 | }; |
810 | 807 | ||
@@ -880,7 +877,6 @@ static struct platform_driver wm831x_epe_driver = { | |||
880 | .probe = wm831x_epe_probe, | 877 | .probe = wm831x_epe_probe, |
881 | .driver = { | 878 | .driver = { |
882 | .name = "wm831x-epe", | 879 | .name = "wm831x-epe", |
883 | .owner = THIS_MODULE, | ||
884 | }, | 880 | }, |
885 | }; | 881 | }; |
886 | 882 | ||
diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c index 72e385e76a9d..1e88391a1628 100644 --- a/drivers/regulator/wm831x-isink.c +++ b/drivers/regulator/wm831x-isink.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver wm831x_isink_driver = { | |||
224 | .probe = wm831x_isink_probe, | 224 | .probe = wm831x_isink_probe, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "wm831x-isink", | 226 | .name = "wm831x-isink", |
227 | .owner = THIS_MODULE, | ||
228 | }, | 227 | }, |
229 | }; | 228 | }; |
230 | 229 | ||
diff --git a/drivers/regulator/wm831x-ldo.c b/drivers/regulator/wm831x-ldo.c index eca0eeb78acd..7ae2dc82f636 100644 --- a/drivers/regulator/wm831x-ldo.c +++ b/drivers/regulator/wm831x-ldo.c | |||
@@ -307,7 +307,6 @@ static struct platform_driver wm831x_gp_ldo_driver = { | |||
307 | .probe = wm831x_gp_ldo_probe, | 307 | .probe = wm831x_gp_ldo_probe, |
308 | .driver = { | 308 | .driver = { |
309 | .name = "wm831x-ldo", | 309 | .name = "wm831x-ldo", |
310 | .owner = THIS_MODULE, | ||
311 | }, | 310 | }, |
312 | }; | 311 | }; |
313 | 312 | ||
@@ -516,7 +515,6 @@ static struct platform_driver wm831x_aldo_driver = { | |||
516 | .probe = wm831x_aldo_probe, | 515 | .probe = wm831x_aldo_probe, |
517 | .driver = { | 516 | .driver = { |
518 | .name = "wm831x-aldo", | 517 | .name = "wm831x-aldo", |
519 | .owner = THIS_MODULE, | ||
520 | }, | 518 | }, |
521 | }; | 519 | }; |
522 | 520 | ||
@@ -650,7 +648,6 @@ static struct platform_driver wm831x_alive_ldo_driver = { | |||
650 | .probe = wm831x_alive_ldo_probe, | 648 | .probe = wm831x_alive_ldo_probe, |
651 | .driver = { | 649 | .driver = { |
652 | .name = "wm831x-alive-ldo", | 650 | .name = "wm831x-alive-ldo", |
653 | .owner = THIS_MODULE, | ||
654 | }, | 651 | }, |
655 | }; | 652 | }; |
656 | 653 | ||
diff --git a/drivers/regulator/wm8994-regulator.c b/drivers/regulator/wm8994-regulator.c index c24346db8a71..fdfd37aefaf6 100644 --- a/drivers/regulator/wm8994-regulator.c +++ b/drivers/regulator/wm8994-regulator.c | |||
@@ -185,7 +185,6 @@ static struct platform_driver wm8994_ldo_driver = { | |||
185 | .probe = wm8994_ldo_probe, | 185 | .probe = wm8994_ldo_probe, |
186 | .driver = { | 186 | .driver = { |
187 | .name = "wm8994-ldo", | 187 | .name = "wm8994-ldo", |
188 | .owner = THIS_MODULE, | ||
189 | }, | 188 | }, |
190 | }; | 189 | }; |
191 | 190 | ||