summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:05 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:05 +0200
commita961f40ee16c5c1cae338e0734d054a98f24d7b7 (patch)
tree4d41c0d40669cbf77dd616db02c144f1edf2fc86 /arch/arm
parentARM: mach-prima2: drop owner assignment from platform_drivers (diff)
downloadlinux-a961f40ee16c5c1cae338e0734d054a98f24d7b7.tar.xz
linux-a961f40ee16c5c1cae338e0734d054a98f24d7b7.zip
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-pxa/pxa3xx-ulpi.c1
-rw-r--r--arch/arm/mach-pxa/tosa-bt.c1
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)
static struct platform_driver pxa3xx_u2d_ulpi_driver = {
.driver = {
.name = "pxa3xx-u2d",
- .owner = THIS_MODULE,
},
.probe = pxa3xx_u2d_probe,
.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 = {
.driver = {
.name = "tosa-bt",
- .owner = THIS_MODULE,
},
};