summaryrefslogtreecommitdiffstats
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
commitfe5e48259137661a7e07c97a931b4f6aba52ed1e (patch)
tree87b1949d9edbc4fe38a3580b24b300b94b40d991
parentc37c1e160546eca3f0612bf9a541667af4f5d71b (diff)
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>
-rw-r--r--drivers/mtd/maps/ixp4xx.c1
-rw-r--r--drivers/mtd/maps/lantiq-flash.c1
-rw-r--r--drivers/mtd/maps/physmap.c1
-rw-r--r--drivers/mtd/maps/physmap_of.c1
-rw-r--r--drivers/mtd/maps/plat-ram.c1
-rw-r--r--drivers/mtd/maps/pxa2xx-flash.c1
-rw-r--r--drivers/mtd/maps/rbtx4939-flash.c1
-rw-r--r--drivers/mtd/maps/sa1100-flash.c1
-rw-r--r--drivers/mtd/maps/sun_uflash.c1
9 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mtd/maps/ixp4xx.c b/drivers/mtd/maps/ixp4xx.c
index 6a589f1e2880..b4430741024e 100644
--- a/drivers/mtd/maps/ixp4xx.c
+++ b/drivers/mtd/maps/ixp4xx.c
@@ -250,7 +250,6 @@ static struct platform_driver ixp4xx_flash_driver = {
250 .remove = ixp4xx_flash_remove, 250 .remove = ixp4xx_flash_remove,
251 .driver = { 251 .driver = {
252 .name = "IXP4XX-Flash", 252 .name = "IXP4XX-Flash",
253 .owner = THIS_MODULE,
254 }, 253 },
255}; 254};
256 255
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 = {
205 .remove = ltq_mtd_remove, 205 .remove = ltq_mtd_remove,
206 .driver = { 206 .driver = {
207 .name = "ltq-nor", 207 .name = "ltq-nor",
208 .owner = THIS_MODULE,
209 .of_match_table = ltq_mtd_match, 208 .of_match_table = ltq_mtd_match,
210 }, 209 },
211}; 210};
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c
index f73cd461257c..4305fd607015 100644
--- a/drivers/mtd/maps/physmap.c
+++ b/drivers/mtd/maps/physmap.c
@@ -217,7 +217,6 @@ static struct platform_driver physmap_flash_driver = {
217 .shutdown = physmap_flash_shutdown, 217 .shutdown = physmap_flash_shutdown,
218 .driver = { 218 .driver = {
219 .name = "physmap-flash", 219 .name = "physmap-flash",
220 .owner = THIS_MODULE,
221 }, 220 },
222}; 221};
223 222
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c
index c1d21cb501ca..991d0cb871f0 100644
--- a/drivers/mtd/maps/physmap_of.c
+++ b/drivers/mtd/maps/physmap_of.c
@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, of_flash_match);
354static struct platform_driver of_flash_driver = { 354static struct platform_driver of_flash_driver = {
355 .driver = { 355 .driver = {
356 .name = "of-flash", 356 .name = "of-flash",
357 .owner = THIS_MODULE,
358 .of_match_table = of_flash_match, 357 .of_match_table = of_flash_match,
359 }, 358 },
360 .probe = of_flash_probe, 359 .probe = of_flash_probe,
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index d597e89f2692..4b65c08d15f6 100644
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -251,7 +251,6 @@ static struct platform_driver platram_driver = {
251 .remove = platram_remove, 251 .remove = platram_remove,
252 .driver = { 252 .driver = {
253 .name = "mtd-ram", 253 .name = "mtd-ram",
254 .owner = THIS_MODULE,
255 }, 254 },
256}; 255};
257 256
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c
index cb4d92eea9fe..12fa75df5008 100644
--- a/drivers/mtd/maps/pxa2xx-flash.c
+++ b/drivers/mtd/maps/pxa2xx-flash.c
@@ -131,7 +131,6 @@ static void pxa2xx_flash_shutdown(struct platform_device *dev)
131static struct platform_driver pxa2xx_flash_driver = { 131static struct platform_driver pxa2xx_flash_driver = {
132 .driver = { 132 .driver = {
133 .name = "pxa2xx-flash", 133 .name = "pxa2xx-flash",
134 .owner = THIS_MODULE,
135 }, 134 },
136 .probe = pxa2xx_flash_probe, 135 .probe = pxa2xx_flash_probe,
137 .remove = pxa2xx_flash_remove, 136 .remove = pxa2xx_flash_remove,
diff --git a/drivers/mtd/maps/rbtx4939-flash.c b/drivers/mtd/maps/rbtx4939-flash.c
index a84fdfb10518..5a7551aa2d89 100644
--- a/drivers/mtd/maps/rbtx4939-flash.c
+++ b/drivers/mtd/maps/rbtx4939-flash.c
@@ -127,7 +127,6 @@ static struct platform_driver rbtx4939_flash_driver = {
127 .shutdown = rbtx4939_flash_shutdown, 127 .shutdown = rbtx4939_flash_shutdown,
128 .driver = { 128 .driver = {
129 .name = "rbtx4939-flash", 129 .name = "rbtx4939-flash",
130 .owner = THIS_MODULE,
131 }, 130 },
132}; 131};
133 132
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 = {
289 .remove = __exit_p(sa1100_mtd_remove), 289 .remove = __exit_p(sa1100_mtd_remove),
290 .driver = { 290 .driver = {
291 .name = "sa1100-mtd", 291 .name = "sa1100-mtd",
292 .owner = THIS_MODULE,
293 }, 292 },
294}; 293};
295 294
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c
index b6f1aac3510c..d459aca07881 100644
--- a/drivers/mtd/maps/sun_uflash.c
+++ b/drivers/mtd/maps/sun_uflash.c
@@ -150,7 +150,6 @@ MODULE_DEVICE_TABLE(of, uflash_match);
150static struct platform_driver uflash_driver = { 150static struct platform_driver uflash_driver = {
151 .driver = { 151 .driver = {
152 .name = DRIVER_NAME, 152 .name = DRIVER_NAME,
153 .owner = THIS_MODULE,
154 .of_match_table = uflash_match, 153 .of_match_table = uflash_match,
155 }, 154 },
156 .probe = uflash_probe, 155 .probe = uflash_probe,