aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:02 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:02 -0400
commit7246c72de2ba99c1eafd4131f353c8ab4dca5191 (patch)
treefa214be94daa618bfb9b81122d399c47e5acc98f
parentd155fc759abd0a0d0289a63ad8bb51057538f1e3 (diff)
ARM: mach-davinci: 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--arch/arm/mach-davinci/cpuidle.c1
-rw-r--r--arch/arm/mach-davinci/pm.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c
index f1ac1c94ac0f..6b8dbd2089de 100644
--- a/arch/arm/mach-davinci/cpuidle.c
+++ b/arch/arm/mach-davinci/cpuidle.c
@@ -92,7 +92,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev)
92static struct platform_driver davinci_cpuidle_driver = { 92static struct platform_driver davinci_cpuidle_driver = {
93 .driver = { 93 .driver = {
94 .name = "cpuidle-davinci", 94 .name = "cpuidle-davinci",
95 .owner = THIS_MODULE,
96 }, 95 },
97}; 96};
98 97
diff --git a/arch/arm/mach-davinci/pm.c b/arch/arm/mach-davinci/pm.c
index a508fe587af7..07e23ba61f3a 100644
--- a/arch/arm/mach-davinci/pm.c
+++ b/arch/arm/mach-davinci/pm.c
@@ -148,7 +148,6 @@ static int __exit davinci_pm_remove(struct platform_device *pdev)
148static struct platform_driver davinci_pm_driver = { 148static struct platform_driver davinci_pm_driver = {
149 .driver = { 149 .driver = {
150 .name = "pm-davinci", 150 .name = "pm-davinci",
151 .owner = THIS_MODULE,
152 }, 151 },
153 .remove = __exit_p(davinci_pm_remove), 152 .remove = __exit_p(davinci_pm_remove),
154}; 153};