summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/spear_smi.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:57 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:57 +0400
commitc37c1e160546eca3f0612bf9a541667af4f5d71b (patch)
tree3f4eeea48cb933f69a40a9b3e4731cea9a021b58 /drivers/mtd/devices/spear_smi.c
parentbb0d20e79490aad989e6c85fedf46781b8d1e3ba (diff)
downloadlinux-c37c1e160546eca3f0612bf9a541667af4f5d71b.tar.xz
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/spear_smi.c')
-rw-r--r--drivers/mtd/devices/spear_smi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/spear_smi.c b/drivers/mtd/devices/spear_smi.c
index c4176b0f382d..508bab3bd0c4 100644
--- a/drivers/mtd/devices/spear_smi.c
+++ b/drivers/mtd/devices/spear_smi.c
@@ -1079,7 +1079,6 @@ static struct platform_driver spear_smi_driver = {
.driver = {
.name = "smi",
.bus = &platform_bus_type,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(spear_smi_id_table),
.pm = &spear_smi_pm_ops,
},