Browse Source

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>
Wolfram Sang 10 years ago
parent
commit
7246c72de2
2 changed files with 0 additions and 2 deletions
  1. 0 1
      arch/arm/mach-davinci/cpuidle.c
  2. 0 1
      arch/arm/mach-davinci/pm.c

+ 0 - 1
arch/arm/mach-davinci/cpuidle.c

@@ -92,7 +92,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev)
 static struct platform_driver davinci_cpuidle_driver = {
 	.driver = {
 		.name	= "cpuidle-davinci",
-		.owner	= THIS_MODULE,
 	},
 };
 

+ 0 - 1
arch/arm/mach-davinci/pm.c

@@ -148,7 +148,6 @@ static int __exit davinci_pm_remove(struct platform_device *pdev)
 static struct platform_driver davinci_pm_driver = {
 	.driver = {
 		.name	 = "pm-davinci",
-		.owner	 = THIS_MODULE,
 	},
 	.remove = __exit_p(davinci_pm_remove),
 };