diff options
29 files changed, 0 insertions, 30 deletions
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c index 4936e9e0002f..f1d555cfb332 100644 --- a/drivers/mtd/nand/ams-delta.c +++ b/drivers/mtd/nand/ams-delta.c | |||
@@ -290,7 +290,6 @@ static struct platform_driver ams_delta_nand_driver = { | |||
290 | .remove = ams_delta_cleanup, | 290 | .remove = ams_delta_cleanup, |
291 | .driver = { | 291 | .driver = { |
292 | .name = "ams-delta-nand", | 292 | .name = "ams-delta-nand", |
293 | .owner = THIS_MODULE, | ||
294 | }, | 293 | }, |
295 | }; | 294 | }; |
296 | 295 | ||
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 19d1e9d17bf9..84c38f3c65b0 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c | |||
@@ -2312,7 +2312,6 @@ MODULE_DEVICE_TABLE(of, atmel_nand_nfc_match); | |||
2312 | static struct platform_driver atmel_nand_nfc_driver = { | 2312 | static struct platform_driver atmel_nand_nfc_driver = { |
2313 | .driver = { | 2313 | .driver = { |
2314 | .name = "atmel_nand_nfc", | 2314 | .name = "atmel_nand_nfc", |
2315 | .owner = THIS_MODULE, | ||
2316 | .of_match_table = of_match_ptr(atmel_nand_nfc_match), | 2315 | .of_match_table = of_match_ptr(atmel_nand_nfc_match), |
2317 | }, | 2316 | }, |
2318 | .probe = atmel_nand_nfc_probe, | 2317 | .probe = atmel_nand_nfc_probe, |
@@ -2324,7 +2323,6 @@ static struct platform_driver atmel_nand_driver = { | |||
2324 | .remove = atmel_nand_remove, | 2323 | .remove = atmel_nand_remove, |
2325 | .driver = { | 2324 | .driver = { |
2326 | .name = "atmel_nand", | 2325 | .name = "atmel_nand", |
2327 | .owner = THIS_MODULE, | ||
2328 | .of_match_table = of_match_ptr(atmel_nand_dt_ids), | 2326 | .of_match_table = of_match_ptr(atmel_nand_dt_ids), |
2329 | }, | 2327 | }, |
2330 | }; | 2328 | }; |
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index 77d6c17b38c2..c0c3be180012 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c | |||
@@ -503,7 +503,6 @@ static int au1550nd_remove(struct platform_device *pdev) | |||
503 | static struct platform_driver au1550nd_driver = { | 503 | static struct platform_driver au1550nd_driver = { |
504 | .driver = { | 504 | .driver = { |
505 | .name = "au1550-nand", | 505 | .name = "au1550-nand", |
506 | .owner = THIS_MODULE, | ||
507 | }, | 506 | }, |
508 | .probe = au1550nd_probe, | 507 | .probe = au1550nd_probe, |
509 | .remove = au1550nd_remove, | 508 | .remove = au1550nd_remove, |
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 871c4f712654..4d8d4ba4b9c1 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -836,7 +836,6 @@ static struct platform_driver bf5xx_nand_driver = { | |||
836 | .remove = bf5xx_nand_remove, | 836 | .remove = bf5xx_nand_remove, |
837 | .driver = { | 837 | .driver = { |
838 | .name = DRV_NAME, | 838 | .name = DRV_NAME, |
839 | .owner = THIS_MODULE, | ||
840 | }, | 839 | }, |
841 | }; | 840 | }; |
842 | 841 | ||
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index b922c8efcf40..feb6d18de78d 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c | |||
@@ -870,7 +870,6 @@ static struct platform_driver nand_davinci_driver = { | |||
870 | .remove = nand_davinci_remove, | 870 | .remove = nand_davinci_remove, |
871 | .driver = { | 871 | .driver = { |
872 | .name = "davinci_nand", | 872 | .name = "davinci_nand", |
873 | .owner = THIS_MODULE, | ||
874 | .of_match_table = of_match_ptr(davinci_nand_of_match), | 873 | .of_match_table = of_match_ptr(davinci_nand_of_match), |
875 | }, | 874 | }, |
876 | }; | 875 | }; |
diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index 35cb17f57800..0cb1e8d9fbfc 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c | |||
@@ -120,7 +120,6 @@ static struct platform_driver denali_dt_driver = { | |||
120 | .remove = denali_dt_remove, | 120 | .remove = denali_dt_remove, |
121 | .driver = { | 121 | .driver = { |
122 | .name = "denali-nand-dt", | 122 | .name = "denali-nand-dt", |
123 | .owner = THIS_MODULE, | ||
124 | .of_match_table = denali_nand_dt_ids, | 123 | .of_match_table = denali_nand_dt_ids, |
125 | }, | 124 | }, |
126 | }; | 125 | }; |
diff --git a/drivers/mtd/nand/docg4.c b/drivers/mtd/nand/docg4.c index ce24637e14f1..e5d7bcaafa7d 100644 --- a/drivers/mtd/nand/docg4.c +++ b/drivers/mtd/nand/docg4.c | |||
@@ -1380,7 +1380,6 @@ static int __exit cleanup_docg4(struct platform_device *pdev) | |||
1380 | static struct platform_driver docg4_driver = { | 1380 | static struct platform_driver docg4_driver = { |
1381 | .driver = { | 1381 | .driver = { |
1382 | .name = "docg4", | 1382 | .name = "docg4", |
1383 | .owner = THIS_MODULE, | ||
1384 | }, | 1383 | }, |
1385 | .suspend = docg4_suspend, | 1384 | .suspend = docg4_suspend, |
1386 | .resume = docg4_resume, | 1385 | .resume = docg4_resume, |
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index 545a5c002f09..04b22fd3732d 100644 --- a/drivers/mtd/nand/fsl_elbc_nand.c +++ b/drivers/mtd/nand/fsl_elbc_nand.c | |||
@@ -950,7 +950,6 @@ static const struct of_device_id fsl_elbc_nand_match[] = { | |||
950 | static struct platform_driver fsl_elbc_nand_driver = { | 950 | static struct platform_driver fsl_elbc_nand_driver = { |
951 | .driver = { | 951 | .driver = { |
952 | .name = "fsl,elbc-fcm-nand", | 952 | .name = "fsl,elbc-fcm-nand", |
953 | .owner = THIS_MODULE, | ||
954 | .of_match_table = fsl_elbc_nand_match, | 953 | .of_match_table = fsl_elbc_nand_match, |
955 | }, | 954 | }, |
956 | .probe = fsl_elbc_nand_probe, | 955 | .probe = fsl_elbc_nand_probe, |
diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index 2338124dd05f..b9ef7a6bba42 100644 --- a/drivers/mtd/nand/fsl_ifc_nand.c +++ b/drivers/mtd/nand/fsl_ifc_nand.c | |||
@@ -1167,7 +1167,6 @@ static const struct of_device_id fsl_ifc_nand_match[] = { | |||
1167 | static struct platform_driver fsl_ifc_nand_driver = { | 1167 | static struct platform_driver fsl_ifc_nand_driver = { |
1168 | .driver = { | 1168 | .driver = { |
1169 | .name = "fsl,ifc-nand", | 1169 | .name = "fsl,ifc-nand", |
1170 | .owner = THIS_MODULE, | ||
1171 | .of_match_table = fsl_ifc_nand_match, | 1170 | .of_match_table = fsl_ifc_nand_match, |
1172 | }, | 1171 | }, |
1173 | .probe = fsl_ifc_nand_probe, | 1172 | .probe = fsl_ifc_nand_probe, |
diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c index 4d203e84e8ca..72755d7ec25d 100644 --- a/drivers/mtd/nand/fsl_upm.c +++ b/drivers/mtd/nand/fsl_upm.c | |||
@@ -347,7 +347,6 @@ MODULE_DEVICE_TABLE(of, of_fun_match); | |||
347 | static struct platform_driver of_fun_driver = { | 347 | static struct platform_driver of_fun_driver = { |
348 | .driver = { | 348 | .driver = { |
349 | .name = "fsl,upm-nand", | 349 | .name = "fsl,upm-nand", |
350 | .owner = THIS_MODULE, | ||
351 | .of_match_table = of_fun_match, | 350 | .of_match_table = of_fun_match, |
352 | }, | 351 | }, |
353 | .probe = fun_probe, | 352 | .probe = fun_probe, |
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c index 7a915870d9d6..edfaa21b1817 100644 --- a/drivers/mtd/nand/fsmc_nand.c +++ b/drivers/mtd/nand/fsmc_nand.c | |||
@@ -1224,7 +1224,6 @@ MODULE_DEVICE_TABLE(of, fsmc_nand_id_table); | |||
1224 | static struct platform_driver fsmc_nand_driver = { | 1224 | static struct platform_driver fsmc_nand_driver = { |
1225 | .remove = fsmc_nand_remove, | 1225 | .remove = fsmc_nand_remove, |
1226 | .driver = { | 1226 | .driver = { |
1227 | .owner = THIS_MODULE, | ||
1228 | .name = "fsmc-nand", | 1227 | .name = "fsmc-nand", |
1229 | .of_match_table = of_match_ptr(fsmc_nand_id_table), | 1228 | .of_match_table = of_match_ptr(fsmc_nand_id_table), |
1230 | .pm = &fsmc_nand_pm_ops, | 1229 | .pm = &fsmc_nand_pm_ops, |
diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c index 117ce333fdd4..918283999a4b 100644 --- a/drivers/mtd/nand/gpio.c +++ b/drivers/mtd/nand/gpio.c | |||
@@ -308,7 +308,6 @@ static struct platform_driver gpio_nand_driver = { | |||
308 | .remove = gpio_nand_remove, | 308 | .remove = gpio_nand_remove, |
309 | .driver = { | 309 | .driver = { |
310 | .name = "gpio-nand", | 310 | .name = "gpio-nand", |
311 | .owner = THIS_MODULE, | ||
312 | .of_match_table = of_match_ptr(gpio_nand_id_table), | 311 | .of_match_table = of_match_ptr(gpio_nand_id_table), |
313 | }, | 312 | }, |
314 | }; | 313 | }; |
diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index a2c804de156b..1633ec9c5108 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c | |||
@@ -577,7 +577,6 @@ static struct platform_driver jz_nand_driver = { | |||
577 | .remove = jz_nand_remove, | 577 | .remove = jz_nand_remove, |
578 | .driver = { | 578 | .driver = { |
579 | .name = "jz4740-nand", | 579 | .name = "jz4740-nand", |
580 | .owner = THIS_MODULE, | ||
581 | }, | 580 | }, |
582 | }; | 581 | }; |
583 | 582 | ||
diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c index 7335346dc126..79c3b7801e1f 100644 --- a/drivers/mtd/nand/lpc32xx_mlc.c +++ b/drivers/mtd/nand/lpc32xx_mlc.c | |||
@@ -878,7 +878,6 @@ static struct platform_driver lpc32xx_nand_driver = { | |||
878 | .suspend = lpc32xx_nand_suspend, | 878 | .suspend = lpc32xx_nand_suspend, |
879 | .driver = { | 879 | .driver = { |
880 | .name = DRV_NAME, | 880 | .name = DRV_NAME, |
881 | .owner = THIS_MODULE, | ||
882 | .of_match_table = lpc32xx_nand_match, | 881 | .of_match_table = lpc32xx_nand_match, |
883 | }, | 882 | }, |
884 | }; | 883 | }; |
diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/drivers/mtd/nand/lpc32xx_slc.c index 8caef28e0756..abfec13868e5 100644 --- a/drivers/mtd/nand/lpc32xx_slc.c +++ b/drivers/mtd/nand/lpc32xx_slc.c | |||
@@ -999,7 +999,6 @@ static struct platform_driver lpc32xx_nand_driver = { | |||
999 | .suspend = lpc32xx_nand_suspend, | 999 | .suspend = lpc32xx_nand_suspend, |
1000 | .driver = { | 1000 | .driver = { |
1001 | .name = LPC32XX_MODNAME, | 1001 | .name = LPC32XX_MODNAME, |
1002 | .owner = THIS_MODULE, | ||
1003 | .of_match_table = lpc32xx_nand_match, | 1002 | .of_match_table = lpc32xx_nand_match, |
1004 | }, | 1003 | }, |
1005 | }; | 1004 | }; |
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index e78841a2dcc3..1f12e5bfbced 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c | |||
@@ -847,7 +847,6 @@ static struct platform_driver mpc5121_nfc_driver = { | |||
847 | .remove = mpc5121_nfc_remove, | 847 | .remove = mpc5121_nfc_remove, |
848 | .driver = { | 848 | .driver = { |
849 | .name = DRV_NAME, | 849 | .name = DRV_NAME, |
850 | .owner = THIS_MODULE, | ||
851 | .of_match_table = mpc5121_nfc_match, | 850 | .of_match_table = mpc5121_nfc_match, |
852 | }, | 851 | }, |
853 | }; | 852 | }; |
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index dba262bf766f..e1d56beeca79 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -1600,7 +1600,6 @@ static int mxcnd_remove(struct platform_device *pdev) | |||
1600 | static struct platform_driver mxcnd_driver = { | 1600 | static struct platform_driver mxcnd_driver = { |
1601 | .driver = { | 1601 | .driver = { |
1602 | .name = DRIVER_NAME, | 1602 | .name = DRIVER_NAME, |
1603 | .owner = THIS_MODULE, | ||
1604 | .of_match_table = of_match_ptr(mxcnd_dt_ids), | 1603 | .of_match_table = of_match_ptr(mxcnd_dt_ids), |
1605 | }, | 1604 | }, |
1606 | .id_table = mxcnd_devtype, | 1605 | .id_table = mxcnd_devtype, |
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c index 253a644da76a..3187c6b92d9a 100644 --- a/drivers/mtd/nand/ndfc.c +++ b/drivers/mtd/nand/ndfc.c | |||
@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(of, ndfc_match); | |||
277 | static struct platform_driver ndfc_driver = { | 277 | static struct platform_driver ndfc_driver = { |
278 | .driver = { | 278 | .driver = { |
279 | .name = "ndfc", | 279 | .name = "ndfc", |
280 | .owner = THIS_MODULE, | ||
281 | .of_match_table = ndfc_match, | 280 | .of_match_table = ndfc_match, |
282 | }, | 281 | }, |
283 | .probe = ndfc_probe, | 282 | .probe = ndfc_probe, |
diff --git a/drivers/mtd/nand/nuc900_nand.c b/drivers/mtd/nand/nuc900_nand.c index e8a5fffd6ab2..e58c644dd220 100644 --- a/drivers/mtd/nand/nuc900_nand.c +++ b/drivers/mtd/nand/nuc900_nand.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver nuc900_nand_driver = { | |||
300 | .remove = nuc900_nand_remove, | 300 | .remove = nuc900_nand_remove, |
301 | .driver = { | 301 | .driver = { |
302 | .name = "nuc900-fmi", | 302 | .name = "nuc900-fmi", |
303 | .owner = THIS_MODULE, | ||
304 | }, | 303 | }, |
305 | }; | 304 | }; |
306 | 305 | ||
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 3b357e920a0c..6d74b56dd9f6 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
@@ -2095,7 +2095,6 @@ static struct platform_driver omap_nand_driver = { | |||
2095 | .remove = omap_nand_remove, | 2095 | .remove = omap_nand_remove, |
2096 | .driver = { | 2096 | .driver = { |
2097 | .name = DRIVER_NAME, | 2097 | .name = DRIVER_NAME, |
2098 | .owner = THIS_MODULE, | ||
2099 | }, | 2098 | }, |
2100 | }; | 2099 | }; |
2101 | 2100 | ||
diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c index b4f61c7fc161..f73fbeaaeb7a 100644 --- a/drivers/mtd/nand/omap_elm.c +++ b/drivers/mtd/nand/omap_elm.c | |||
@@ -563,7 +563,6 @@ MODULE_DEVICE_TABLE(of, elm_of_match); | |||
563 | static struct platform_driver elm_driver = { | 563 | static struct platform_driver elm_driver = { |
564 | .driver = { | 564 | .driver = { |
565 | .name = DRIVER_NAME, | 565 | .name = DRIVER_NAME, |
566 | .owner = THIS_MODULE, | ||
567 | .of_match_table = of_match_ptr(elm_of_match), | 566 | .of_match_table = of_match_ptr(elm_of_match), |
568 | .pm = &elm_pm_ops, | 567 | .pm = &elm_pm_ops, |
569 | }, | 568 | }, |
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index 471b4df3a5ac..c53e36956bff 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver orion_nand_driver = { | |||
224 | .remove = orion_nand_remove, | 224 | .remove = orion_nand_remove, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "orion_nand", | 226 | .name = "orion_nand", |
227 | .owner = THIS_MODULE, | ||
228 | .of_match_table = of_match_ptr(orion_nand_of_match_table), | 227 | .of_match_table = of_match_ptr(orion_nand_of_match_table), |
229 | }, | 228 | }, |
230 | }; | 229 | }; |
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c index 2c98f9da7471..66c345b42097 100644 --- a/drivers/mtd/nand/pasemi_nand.c +++ b/drivers/mtd/nand/pasemi_nand.c | |||
@@ -223,7 +223,6 @@ static struct platform_driver pasemi_nand_driver = | |||
223 | { | 223 | { |
224 | .driver = { | 224 | .driver = { |
225 | .name = driver_name, | 225 | .name = driver_name, |
226 | .owner = THIS_MODULE, | ||
227 | .of_match_table = pasemi_nand_match, | 226 | .of_match_table = pasemi_nand_match, |
228 | }, | 227 | }, |
229 | .probe = pasemi_nand_probe, | 228 | .probe = pasemi_nand_probe, |
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index 0b068a5c0bff..4535c263fae5 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c | |||
@@ -138,7 +138,6 @@ static struct platform_driver plat_nand_driver = { | |||
138 | .remove = plat_nand_remove, | 138 | .remove = plat_nand_remove, |
139 | .driver = { | 139 | .driver = { |
140 | .name = "gen_nand", | 140 | .name = "gen_nand", |
141 | .owner = THIS_MODULE, | ||
142 | .of_match_table = plat_nand_match, | 141 | .of_match_table = plat_nand_match, |
143 | }, | 142 | }, |
144 | }; | 143 | }; |
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 6b97bf17ce5d..35aef5edb588 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -1135,7 +1135,6 @@ static struct platform_driver s3c24xx_nand_driver = { | |||
1135 | .id_table = s3c24xx_driver_ids, | 1135 | .id_table = s3c24xx_driver_ids, |
1136 | .driver = { | 1136 | .driver = { |
1137 | .name = "s3c24xx-nand", | 1137 | .name = "s3c24xx-nand", |
1138 | .owner = THIS_MODULE, | ||
1139 | }, | 1138 | }, |
1140 | }; | 1139 | }; |
1141 | 1140 | ||
diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c index 0ed7c603298f..a21c378f096a 100644 --- a/drivers/mtd/nand/sh_flctl.c +++ b/drivers/mtd/nand/sh_flctl.c | |||
@@ -1190,7 +1190,6 @@ static struct platform_driver flctl_driver = { | |||
1190 | .remove = flctl_remove, | 1190 | .remove = flctl_remove, |
1191 | .driver = { | 1191 | .driver = { |
1192 | .name = "sh_flctl", | 1192 | .name = "sh_flctl", |
1193 | .owner = THIS_MODULE, | ||
1194 | .of_match_table = of_match_ptr(of_flctl_match), | 1193 | .of_match_table = of_match_ptr(of_flctl_match), |
1195 | }, | 1194 | }, |
1196 | }; | 1195 | }; |
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index e81059b58382..842c47a451a0 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mtd/nand/sharpsl.c | |||
@@ -220,7 +220,6 @@ static int sharpsl_nand_remove(struct platform_device *pdev) | |||
220 | static struct platform_driver sharpsl_nand_driver = { | 220 | static struct platform_driver sharpsl_nand_driver = { |
221 | .driver = { | 221 | .driver = { |
222 | .name = "sharpsl-nand", | 222 | .name = "sharpsl-nand", |
223 | .owner = THIS_MODULE, | ||
224 | }, | 223 | }, |
225 | .probe = sharpsl_nand_probe, | 224 | .probe = sharpsl_nand_probe, |
226 | .remove = sharpsl_nand_remove, | 225 | .remove = sharpsl_nand_remove, |
diff --git a/drivers/mtd/nand/socrates_nand.c b/drivers/mtd/nand/socrates_nand.c index fe8058a45054..d71062273f55 100644 --- a/drivers/mtd/nand/socrates_nand.c +++ b/drivers/mtd/nand/socrates_nand.c | |||
@@ -240,7 +240,6 @@ MODULE_DEVICE_TABLE(of, socrates_nand_match); | |||
240 | static struct platform_driver socrates_nand_driver = { | 240 | static struct platform_driver socrates_nand_driver = { |
241 | .driver = { | 241 | .driver = { |
242 | .name = "socrates_nand", | 242 | .name = "socrates_nand", |
243 | .owner = THIS_MODULE, | ||
244 | .of_match_table = socrates_nand_match, | 243 | .of_match_table = socrates_nand_match, |
245 | }, | 244 | }, |
246 | .probe = socrates_nand_probe, | 245 | .probe = socrates_nand_probe, |
diff --git a/drivers/mtd/nand/txx9ndfmc.c b/drivers/mtd/nand/txx9ndfmc.c index c1622a5ba814..9c0bc45e28a9 100644 --- a/drivers/mtd/nand/txx9ndfmc.c +++ b/drivers/mtd/nand/txx9ndfmc.c | |||
@@ -417,7 +417,6 @@ static struct platform_driver txx9ndfmc_driver = { | |||
417 | .resume = txx9ndfmc_resume, | 417 | .resume = txx9ndfmc_resume, |
418 | .driver = { | 418 | .driver = { |
419 | .name = "txx9ndfmc", | 419 | .name = "txx9ndfmc", |
420 | .owner = THIS_MODULE, | ||
421 | }, | 420 | }, |
422 | }; | 421 | }; |
423 | 422 | ||