aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/st_spi_fsm.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/st_spi_fsm.c
parentmmc: host: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-c37c1e160546eca3f0612bf9a541667af4f5d71b.tar.xz
linux-dev-c37c1e160546eca3f0612bf9a541667af4f5d71b.zip
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/st_spi_fsm.c')
-rw-r--r--drivers/mtd/devices/st_spi_fsm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c
index d252514d3e98..54ffe5223e64 100644
--- a/drivers/mtd/devices/st_spi_fsm.c
+++ b/drivers/mtd/devices/st_spi_fsm.c
@@ -2069,7 +2069,6 @@ static struct platform_driver stfsm_driver = {
.remove = stfsm_remove,
.driver = {
.name = "st-spi-fsm",
- .owner = THIS_MODULE,
.of_match_table = stfsm_match,
},
};