summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:04 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:04 +0200
commitceb8ef2e20fe452f55d9fee0e8c8f2dfcec73db5 (patch)
tree3994b6f19d1dc656c44f4be197503bbaf7e38758 /arch
parenta46ca32ca0ea801fb835794bb069e9449060bbae (diff)
downloadlinux-ceb8ef2e20fe452f55d9fee0e8c8f2dfcec73db5.tar.bz2
ARM: mach-omap2: 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')
-rw-r--r--arch/arm/mach-omap2/gpmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index 5fa3755261ce..c02e581f7cfc 100644
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch/arm/mach-omap2/gpmc.c
@@ -1760,7 +1760,6 @@ static struct platform_driver gpmc_driver = {
.remove = gpmc_remove,
.driver = {
.name = DEVICE_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(gpmc_dt_ids),
.pm = &gpmc_pm_ops,
},