Commit ff3ad09b0dbc0d30764c7d46fecf99958781a921

Authored by Wolfram Sang
1 parent 81902d5f65

macintosh: 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>

Showing 5 changed files with 0 additions and 5 deletions Side-by-side Diff

drivers/macintosh/smu.c
... ... @@ -667,7 +667,6 @@
667 667 {
668 668 .driver = {
669 669 .name = "smu",
670   - .owner = THIS_MODULE,
671 670 .of_match_table = smu_platform_match,
672 671 },
673 672 .probe = smu_platform_probe,
drivers/macintosh/therm_pm72.c
... ... @@ -2243,7 +2243,6 @@
2243 2243 {
2244 2244 .driver = {
2245 2245 .name = "temperature",
2246   - .owner = THIS_MODULE,
2247 2246 .of_match_table = fcu_match,
2248 2247 },
2249 2248 .probe = fcu_of_probe,
drivers/macintosh/therm_windtunnel.c
... ... @@ -463,7 +463,6 @@
463 463 static struct platform_driver therm_of_driver = {
464 464 .driver = {
465 465 .name = "temperature",
466   - .owner = THIS_MODULE,
467 466 .of_match_table = therm_of_match,
468 467 },
469 468 .probe = therm_of_probe,
drivers/macintosh/windfarm_pm81.c
... ... @@ -770,7 +770,6 @@
770 770 .remove = wf_smu_remove,
771 771 .driver = {
772 772 .name = "windfarm",
773   - .owner = THIS_MODULE,
774 773 },
775 774 };
776 775  
drivers/macintosh/windfarm_pm91.c
... ... @@ -699,7 +699,6 @@
699 699 .remove = wf_smu_remove,
700 700 .driver = {
701 701 .name = "windfarm",
702   - .owner = THIS_MODULE,
703 702 },
704 703 };
705 704