aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:43 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:43 -0400
commitff3ad09b0dbc0d30764c7d46fecf99958781a921 (patch)
treec6ec09ce7aba46ab5e4570a1aa39665fcbce7ee4
parent81902d5f658f5c8c0fbdff7c598fe24d4d521c05 (diff)
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>
-rw-r--r--drivers/macintosh/smu.c1
-rw-r--r--drivers/macintosh/therm_pm72.c1
-rw-r--r--drivers/macintosh/therm_windtunnel.c1
-rw-r--r--drivers/macintosh/windfarm_pm81.c1
-rw-r--r--drivers/macintosh/windfarm_pm91.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c
index 4eab93aa570b..10ae69bcbbd2 100644
--- a/drivers/macintosh/smu.c
+++ b/drivers/macintosh/smu.c
@@ -667,7 +667,6 @@ static struct platform_driver smu_of_platform_driver =
667{ 667{
668 .driver = { 668 .driver = {
669 .name = "smu", 669 .name = "smu",
670 .owner = THIS_MODULE,
671 .of_match_table = smu_platform_match, 670 .of_match_table = smu_platform_match,
672 }, 671 },
673 .probe = smu_platform_probe, 672 .probe = smu_platform_probe,
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c
index 97cfc5ac9fd0..7ed92582d2cf 100644
--- a/drivers/macintosh/therm_pm72.c
+++ b/drivers/macintosh/therm_pm72.c
@@ -2243,7 +2243,6 @@ static struct platform_driver fcu_of_platform_driver =
2243{ 2243{
2244 .driver = { 2244 .driver = {
2245 .name = "temperature", 2245 .name = "temperature",
2246 .owner = THIS_MODULE,
2247 .of_match_table = fcu_match, 2246 .of_match_table = fcu_match,
2248 }, 2247 },
2249 .probe = fcu_of_probe, 2248 .probe = fcu_of_probe,
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c
index 3b4a157714b1..109dcaa15934 100644
--- a/drivers/macintosh/therm_windtunnel.c
+++ b/drivers/macintosh/therm_windtunnel.c
@@ -463,7 +463,6 @@ static const struct of_device_id therm_of_match[] = {{
463static struct platform_driver therm_of_driver = { 463static struct platform_driver therm_of_driver = {
464 .driver = { 464 .driver = {
465 .name = "temperature", 465 .name = "temperature",
466 .owner = THIS_MODULE,
467 .of_match_table = therm_of_match, 466 .of_match_table = therm_of_match,
468 }, 467 },
469 .probe = therm_of_probe, 468 .probe = therm_of_probe,
diff --git a/drivers/macintosh/windfarm_pm81.c b/drivers/macintosh/windfarm_pm81.c
index 2a5e1b15b1d2..93faf298a3c5 100644
--- a/drivers/macintosh/windfarm_pm81.c
+++ b/drivers/macintosh/windfarm_pm81.c
@@ -770,7 +770,6 @@ static struct platform_driver wf_smu_driver = {
770 .remove = wf_smu_remove, 770 .remove = wf_smu_remove,
771 .driver = { 771 .driver = {
772 .name = "windfarm", 772 .name = "windfarm",
773 .owner = THIS_MODULE,
774 }, 773 },
775}; 774};
776 775
diff --git a/drivers/macintosh/windfarm_pm91.c b/drivers/macintosh/windfarm_pm91.c
index a8ac66cd3b13..81fdf40c5b82 100644
--- a/drivers/macintosh/windfarm_pm91.c
+++ b/drivers/macintosh/windfarm_pm91.c
@@ -699,7 +699,6 @@ static struct platform_driver wf_smu_driver = {
699 .remove = wf_smu_remove, 699 .remove = wf_smu_remove,
700 .driver = { 700 .driver = {
701 .name = "windfarm", 701 .name = "windfarm",
702 .owner = THIS_MODULE,
703 }, 702 },
704}; 703};
705 704