summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/docg3.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:57 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:57 +0200
commitc37c1e160546eca3f0612bf9a541667af4f5d71b (patch)
tree3f4eeea48cb933f69a40a9b3e4731cea9a021b58 /drivers/mtd/devices/docg3.c
parentbb0d20e79490aad989e6c85fedf46781b8d1e3ba (diff)
mtd: devices: 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 'drivers/mtd/devices/docg3.c')
-rw-r--r--drivers/mtd/devices/docg3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c
index 21cc4b66feaa..72346048532d 100644
--- a/drivers/mtd/devices/docg3.c
+++ b/drivers/mtd/devices/docg3.c
@@ -2129,7 +2129,6 @@ static int __exit docg3_release(struct platform_device *pdev)
static struct platform_driver g3_driver = {
.driver = {
.name = "docg3",
- .owner = THIS_MODULE,
},
.suspend = docg3_suspend,
.resume = docg3_resume,