summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/sa1100-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/sa1100-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/sa1100-flash.c')
-rw-r--r--drivers/mtd/maps/sa1100-flash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c
index 8fc06bf111c4..ea697202935a 100644
--- a/drivers/mtd/maps/sa1100-flash.c
+++ b/drivers/mtd/maps/sa1100-flash.c
@@ -289,7 +289,6 @@ static struct platform_driver sa1100_mtd_driver = {
.remove = __exit_p(sa1100_mtd_remove),
.driver = {
.name = "sa1100-mtd",
- .owner = THIS_MODULE,
},
};