diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:05 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:05 -0400 |
commit | a961f40ee16c5c1cae338e0734d054a98f24d7b7 (patch) | |
tree | 4d41c0d40669cbf77dd616db02c144f1edf2fc86 | |
parent | ea18faf9f6173bcb74bd4079dc0356be82d6d8ec (diff) |
ARM: mach-pxa: 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-pxa/pxa3xx-ulpi.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/tosa-bt.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx-ulpi.c b/arch/arm/mach-pxa/pxa3xx-ulpi.c index e329ccefd364..4ced61afc7f5 100644 --- a/arch/arm/mach-pxa/pxa3xx-ulpi.c +++ b/arch/arm/mach-pxa/pxa3xx-ulpi.c | |||
@@ -379,7 +379,6 @@ static int pxa3xx_u2d_remove(struct platform_device *pdev) | |||
379 | static struct platform_driver pxa3xx_u2d_ulpi_driver = { | 379 | static struct platform_driver pxa3xx_u2d_ulpi_driver = { |
380 | .driver = { | 380 | .driver = { |
381 | .name = "pxa3xx-u2d", | 381 | .name = "pxa3xx-u2d", |
382 | .owner = THIS_MODULE, | ||
383 | }, | 382 | }, |
384 | .probe = pxa3xx_u2d_probe, | 383 | .probe = pxa3xx_u2d_probe, |
385 | .remove = pxa3xx_u2d_remove, | 384 | .remove = pxa3xx_u2d_remove, |
diff --git a/arch/arm/mach-pxa/tosa-bt.c b/arch/arm/mach-pxa/tosa-bt.c index fc3646c2c694..685deff861d2 100644 --- a/arch/arm/mach-pxa/tosa-bt.c +++ b/arch/arm/mach-pxa/tosa-bt.c | |||
@@ -129,7 +129,6 @@ static struct platform_driver tosa_bt_driver = { | |||
129 | 129 | ||
130 | .driver = { | 130 | .driver = { |
131 | .name = "tosa-bt", | 131 | .name = "tosa-bt", |
132 | .owner = THIS_MODULE, | ||
133 | }, | 132 | }, |
134 | }; | 133 | }; |
135 | 134 | ||