aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:57 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:57 -0400
commitc37c1e160546eca3f0612bf9a541667af4f5d71b (patch)
tree3f4eeea48cb933f69a40a9b3e4731cea9a021b58 /drivers/mtd/devices
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')
-rw-r--r--drivers/mtd/devices/bcm47xxsflash.c1
-rw-r--r--drivers/mtd/devices/docg3.c1
-rw-r--r--drivers/mtd/devices/spear_smi.c1
-rw-r--r--drivers/mtd/devices/st_spi_fsm.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/devices/bcm47xxsflash.c b/drivers/mtd/devices/bcm47xxsflash.c
index 77de29bc02ba..3d008a9410be 100644
--- a/drivers/mtd/devices/bcm47xxsflash.c
+++ b/drivers/mtd/devices/bcm47xxsflash.c
@@ -329,7 +329,6 @@ static struct platform_driver bcma_sflash_driver = {
329 .remove = bcm47xxsflash_bcma_remove, 329 .remove = bcm47xxsflash_bcma_remove,
330 .driver = { 330 .driver = {
331 .name = "bcma_sflash", 331 .name = "bcma_sflash",
332 .owner = THIS_MODULE,
333 }, 332 },
334}; 333};
335 334
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)
2129static struct platform_driver g3_driver = { 2129static struct platform_driver g3_driver = {
2130 .driver = { 2130 .driver = {
2131 .name = "docg3", 2131 .name = "docg3",
2132 .owner = THIS_MODULE,
2133 }, 2132 },
2134 .suspend = docg3_suspend, 2133 .suspend = docg3_suspend,
2135 .resume = docg3_resume, 2134 .resume = docg3_resume,
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 = {
1079 .driver = { 1079 .driver = {
1080 .name = "smi", 1080 .name = "smi",
1081 .bus = &platform_bus_type, 1081 .bus = &platform_bus_type,
1082 .owner = THIS_MODULE,
1083 .of_match_table = of_match_ptr(spear_smi_id_table), 1082 .of_match_table = of_match_ptr(spear_smi_id_table),
1084 .pm = &spear_smi_pm_ops, 1083 .pm = &spear_smi_pm_ops,
1085 }, 1084 },
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 = {
2069 .remove = stfsm_remove, 2069 .remove = stfsm_remove,
2070 .driver = { 2070 .driver = {
2071 .name = "st-spi-fsm", 2071 .name = "st-spi-fsm",
2072 .owner = THIS_MODULE,
2073 .of_match_table = stfsm_match, 2072 .of_match_table = stfsm_match,
2074 }, 2073 },
2075}; 2074};