summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/lantiq-flash.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
commitfe5e48259137661a7e07c97a931b4f6aba52ed1e (patch)
tree87b1949d9edbc4fe38a3580b24b300b94b40d991 /drivers/mtd/maps/lantiq-flash.c
parentmtd: devices: drop owner assignment from platform_drivers (diff)
downloadlinux-fe5e48259137661a7e07c97a931b4f6aba52ed1e.tar.xz
linux-fe5e48259137661a7e07c97a931b4f6aba52ed1e.zip
mtd: maps: 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/maps/lantiq-flash.c')
-rw-r--r--drivers/mtd/maps/lantiq-flash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c
index 7aa682cd4d7e..33d26f5bee54 100644
--- a/drivers/mtd/maps/lantiq-flash.c
+++ b/drivers/mtd/maps/lantiq-flash.c
@@ -205,7 +205,6 @@ static struct platform_driver ltq_mtd_driver = {
.remove = ltq_mtd_remove,
.driver = {
.name = "ltq-nor",
- .owner = THIS_MODULE,
.of_match_table = ltq_mtd_match,
},
};