diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:51 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:51 -0400 |
commit | 6a732becfd2fe1525718de8eb5c17314265a15f2 (patch) | |
tree | a2eb8c6be9ddf0f3a4d3768a91a8689120d8ce07 /drivers/video | |
parent | 0ca4ac7fb3a9b4c15d195778affc040415af90b4 (diff) |
video: fbdev: 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/video')
50 files changed, 0 insertions, 51 deletions
diff --git a/drivers/video/fbdev/amifb.c b/drivers/video/fbdev/amifb.c index 518f790ef88a..35f7900a0573 100644 --- a/drivers/video/fbdev/amifb.c +++ b/drivers/video/fbdev/amifb.c | |||
@@ -3782,7 +3782,6 @@ static struct platform_driver amifb_driver = { | |||
3782 | .remove = __exit_p(amifb_remove), | 3782 | .remove = __exit_p(amifb_remove), |
3783 | .driver = { | 3783 | .driver = { |
3784 | .name = "amiga-video", | 3784 | .name = "amiga-video", |
3785 | .owner = THIS_MODULE, | ||
3786 | }, | 3785 | }, |
3787 | }; | 3786 | }; |
3788 | 3787 | ||
diff --git a/drivers/video/fbdev/atmel_lcdfb.c b/drivers/video/fbdev/atmel_lcdfb.c index 3bf403150a2d..98abb23f1066 100644 --- a/drivers/video/fbdev/atmel_lcdfb.c +++ b/drivers/video/fbdev/atmel_lcdfb.c | |||
@@ -1466,7 +1466,6 @@ static struct platform_driver atmel_lcdfb_driver = { | |||
1466 | .id_table = atmel_lcdfb_devtypes, | 1466 | .id_table = atmel_lcdfb_devtypes, |
1467 | .driver = { | 1467 | .driver = { |
1468 | .name = "atmel_lcdfb", | 1468 | .name = "atmel_lcdfb", |
1469 | .owner = THIS_MODULE, | ||
1470 | .of_match_table = of_match_ptr(atmel_lcdfb_dt_ids), | 1469 | .of_match_table = of_match_ptr(atmel_lcdfb_dt_ids), |
1471 | }, | 1470 | }, |
1472 | }; | 1471 | }; |
diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c index 0676746ec68c..59560189b24a 100644 --- a/drivers/video/fbdev/au1100fb.c +++ b/drivers/video/fbdev/au1100fb.c | |||
@@ -638,7 +638,6 @@ int au1100fb_drv_resume(struct platform_device *dev) | |||
638 | static struct platform_driver au1100fb_driver = { | 638 | static struct platform_driver au1100fb_driver = { |
639 | .driver = { | 639 | .driver = { |
640 | .name = "au1100-lcd", | 640 | .name = "au1100-lcd", |
641 | .owner = THIS_MODULE, | ||
642 | }, | 641 | }, |
643 | .probe = au1100fb_drv_probe, | 642 | .probe = au1100fb_drv_probe, |
644 | .remove = au1100fb_drv_remove, | 643 | .remove = au1100fb_drv_remove, |
diff --git a/drivers/video/fbdev/au1200fb.c b/drivers/video/fbdev/au1200fb.c index 18600d4e1b3f..f9507b1894df 100644 --- a/drivers/video/fbdev/au1200fb.c +++ b/drivers/video/fbdev/au1200fb.c | |||
@@ -1841,7 +1841,6 @@ static const struct dev_pm_ops au1200fb_pmops = { | |||
1841 | static struct platform_driver au1200fb_driver = { | 1841 | static struct platform_driver au1200fb_driver = { |
1842 | .driver = { | 1842 | .driver = { |
1843 | .name = "au1200-lcd", | 1843 | .name = "au1200-lcd", |
1844 | .owner = THIS_MODULE, | ||
1845 | .pm = AU1200FB_PMOPS, | 1844 | .pm = AU1200FB_PMOPS, |
1846 | }, | 1845 | }, |
1847 | .probe = au1200fb_drv_probe, | 1846 | .probe = au1200fb_drv_probe, |
diff --git a/drivers/video/fbdev/auo_k1900fb.c b/drivers/video/fbdev/auo_k1900fb.c index f5b668e77af3..7637c60eae3d 100644 --- a/drivers/video/fbdev/auo_k1900fb.c +++ b/drivers/video/fbdev/auo_k1900fb.c | |||
@@ -193,7 +193,6 @@ static struct platform_driver auok1900fb_driver = { | |||
193 | .probe = auok1900fb_probe, | 193 | .probe = auok1900fb_probe, |
194 | .remove = auok1900fb_remove, | 194 | .remove = auok1900fb_remove, |
195 | .driver = { | 195 | .driver = { |
196 | .owner = THIS_MODULE, | ||
197 | .name = "auo_k1900fb", | 196 | .name = "auo_k1900fb", |
198 | .pm = &auok190x_pm, | 197 | .pm = &auok190x_pm, |
199 | }, | 198 | }, |
diff --git a/drivers/video/fbdev/auo_k1901fb.c b/drivers/video/fbdev/auo_k1901fb.c index 12b9adcb75c5..681fe61957b6 100644 --- a/drivers/video/fbdev/auo_k1901fb.c +++ b/drivers/video/fbdev/auo_k1901fb.c | |||
@@ -246,7 +246,6 @@ static struct platform_driver auok1901fb_driver = { | |||
246 | .probe = auok1901fb_probe, | 246 | .probe = auok1901fb_probe, |
247 | .remove = auok1901fb_remove, | 247 | .remove = auok1901fb_remove, |
248 | .driver = { | 248 | .driver = { |
249 | .owner = THIS_MODULE, | ||
250 | .name = "auo_k1901fb", | 249 | .name = "auo_k1901fb", |
251 | .pm = &auok190x_pm, | 250 | .pm = &auok190x_pm, |
252 | }, | 251 | }, |
diff --git a/drivers/video/fbdev/bf537-lq035.c b/drivers/video/fbdev/bf537-lq035.c index a82d2578d976..7db3052b471d 100644 --- a/drivers/video/fbdev/bf537-lq035.c +++ b/drivers/video/fbdev/bf537-lq035.c | |||
@@ -894,7 +894,6 @@ static struct platform_driver bfin_lq035_driver = { | |||
894 | .resume = bfin_lq035_resume, | 894 | .resume = bfin_lq035_resume, |
895 | .driver = { | 895 | .driver = { |
896 | .name = KBUILD_MODNAME, | 896 | .name = KBUILD_MODNAME, |
897 | .owner = THIS_MODULE, | ||
898 | }, | 897 | }, |
899 | }; | 898 | }; |
900 | 899 | ||
diff --git a/drivers/video/fbdev/bf54x-lq043fb.c b/drivers/video/fbdev/bf54x-lq043fb.c index adbef542c998..8f1f97c75619 100644 --- a/drivers/video/fbdev/bf54x-lq043fb.c +++ b/drivers/video/fbdev/bf54x-lq043fb.c | |||
@@ -756,7 +756,6 @@ static struct platform_driver bfin_bf54x_driver = { | |||
756 | .resume = bfin_bf54x_resume, | 756 | .resume = bfin_bf54x_resume, |
757 | .driver = { | 757 | .driver = { |
758 | .name = DRIVER_NAME, | 758 | .name = DRIVER_NAME, |
759 | .owner = THIS_MODULE, | ||
760 | }, | 759 | }, |
761 | }; | 760 | }; |
762 | module_platform_driver(bfin_bf54x_driver); | 761 | module_platform_driver(bfin_bf54x_driver); |
diff --git a/drivers/video/fbdev/bfin-t350mcqb-fb.c b/drivers/video/fbdev/bfin-t350mcqb-fb.c index b5cf1307a3d9..e5ee4d9677f7 100644 --- a/drivers/video/fbdev/bfin-t350mcqb-fb.c +++ b/drivers/video/fbdev/bfin-t350mcqb-fb.c | |||
@@ -661,7 +661,6 @@ static struct platform_driver bfin_t350mcqb_driver = { | |||
661 | .resume = bfin_t350mcqb_resume, | 661 | .resume = bfin_t350mcqb_resume, |
662 | .driver = { | 662 | .driver = { |
663 | .name = DRIVER_NAME, | 663 | .name = DRIVER_NAME, |
664 | .owner = THIS_MODULE, | ||
665 | }, | 664 | }, |
666 | }; | 665 | }; |
667 | module_platform_driver(bfin_t350mcqb_driver); | 666 | module_platform_driver(bfin_t350mcqb_driver); |
diff --git a/drivers/video/fbdev/broadsheetfb.c b/drivers/video/fbdev/broadsheetfb.c index 8556264b16b7..1c29bd19e3d5 100644 --- a/drivers/video/fbdev/broadsheetfb.c +++ b/drivers/video/fbdev/broadsheetfb.c | |||
@@ -1212,7 +1212,6 @@ static struct platform_driver broadsheetfb_driver = { | |||
1212 | .probe = broadsheetfb_probe, | 1212 | .probe = broadsheetfb_probe, |
1213 | .remove = broadsheetfb_remove, | 1213 | .remove = broadsheetfb_remove, |
1214 | .driver = { | 1214 | .driver = { |
1215 | .owner = THIS_MODULE, | ||
1216 | .name = "broadsheetfb", | 1215 | .name = "broadsheetfb", |
1217 | }, | 1216 | }, |
1218 | }; | 1217 | }; |
diff --git a/drivers/video/fbdev/bw2.c b/drivers/video/fbdev/bw2.c index bc123d6947a4..8c5b281f0b29 100644 --- a/drivers/video/fbdev/bw2.c +++ b/drivers/video/fbdev/bw2.c | |||
@@ -377,7 +377,6 @@ MODULE_DEVICE_TABLE(of, bw2_match); | |||
377 | static struct platform_driver bw2_driver = { | 377 | static struct platform_driver bw2_driver = { |
378 | .driver = { | 378 | .driver = { |
379 | .name = "bw2", | 379 | .name = "bw2", |
380 | .owner = THIS_MODULE, | ||
381 | .of_match_table = bw2_match, | 380 | .of_match_table = bw2_match, |
382 | }, | 381 | }, |
383 | .probe = bw2_probe, | 382 | .probe = bw2_probe, |
diff --git a/drivers/video/fbdev/cg14.c b/drivers/video/fbdev/cg14.c index c79745b136bb..43e915eaf606 100644 --- a/drivers/video/fbdev/cg14.c +++ b/drivers/video/fbdev/cg14.c | |||
@@ -597,7 +597,6 @@ MODULE_DEVICE_TABLE(of, cg14_match); | |||
597 | static struct platform_driver cg14_driver = { | 597 | static struct platform_driver cg14_driver = { |
598 | .driver = { | 598 | .driver = { |
599 | .name = "cg14", | 599 | .name = "cg14", |
600 | .owner = THIS_MODULE, | ||
601 | .of_match_table = cg14_match, | 600 | .of_match_table = cg14_match, |
602 | }, | 601 | }, |
603 | .probe = cg14_probe, | 602 | .probe = cg14_probe, |
diff --git a/drivers/video/fbdev/cg3.c b/drivers/video/fbdev/cg3.c index 64a89d5747ed..716391f22e75 100644 --- a/drivers/video/fbdev/cg3.c +++ b/drivers/video/fbdev/cg3.c | |||
@@ -463,7 +463,6 @@ MODULE_DEVICE_TABLE(of, cg3_match); | |||
463 | static struct platform_driver cg3_driver = { | 463 | static struct platform_driver cg3_driver = { |
464 | .driver = { | 464 | .driver = { |
465 | .name = "cg3", | 465 | .name = "cg3", |
466 | .owner = THIS_MODULE, | ||
467 | .of_match_table = cg3_match, | 466 | .of_match_table = cg3_match, |
468 | }, | 467 | }, |
469 | .probe = cg3_probe, | 468 | .probe = cg3_probe, |
diff --git a/drivers/video/fbdev/cg6.c b/drivers/video/fbdev/cg6.c index 70781fea092a..bdf901ed5291 100644 --- a/drivers/video/fbdev/cg6.c +++ b/drivers/video/fbdev/cg6.c | |||
@@ -856,7 +856,6 @@ MODULE_DEVICE_TABLE(of, cg6_match); | |||
856 | static struct platform_driver cg6_driver = { | 856 | static struct platform_driver cg6_driver = { |
857 | .driver = { | 857 | .driver = { |
858 | .name = "cg6", | 858 | .name = "cg6", |
859 | .owner = THIS_MODULE, | ||
860 | .of_match_table = cg6_match, | 859 | .of_match_table = cg6_match, |
861 | }, | 860 | }, |
862 | .probe = cg6_probe, | 861 | .probe = cg6_probe, |
diff --git a/drivers/video/fbdev/clps711x-fb.c b/drivers/video/fbdev/clps711x-fb.c index 49a7bb4ef02f..649b32f78c08 100644 --- a/drivers/video/fbdev/clps711x-fb.c +++ b/drivers/video/fbdev/clps711x-fb.c | |||
@@ -384,7 +384,6 @@ MODULE_DEVICE_TABLE(of, clps711x_fb_dt_ids); | |||
384 | static struct platform_driver clps711x_fb_driver = { | 384 | static struct platform_driver clps711x_fb_driver = { |
385 | .driver = { | 385 | .driver = { |
386 | .name = CLPS711X_FB_NAME, | 386 | .name = CLPS711X_FB_NAME, |
387 | .owner = THIS_MODULE, | ||
388 | .of_match_table = clps711x_fb_dt_ids, | 387 | .of_match_table = clps711x_fb_dt_ids, |
389 | }, | 388 | }, |
390 | .probe = clps711x_fb_probe, | 389 | .probe = clps711x_fb_probe, |
diff --git a/drivers/video/fbdev/clps711xfb.c b/drivers/video/fbdev/clps711xfb.c index f00980607b8f..7693aea8fb23 100644 --- a/drivers/video/fbdev/clps711xfb.c +++ b/drivers/video/fbdev/clps711xfb.c | |||
@@ -303,7 +303,6 @@ static int clps711x_fb_remove(struct platform_device *pdev) | |||
303 | static struct platform_driver clps711x_fb_driver = { | 303 | static struct platform_driver clps711x_fb_driver = { |
304 | .driver = { | 304 | .driver = { |
305 | .name = "video-clps711x", | 305 | .name = "video-clps711x", |
306 | .owner = THIS_MODULE, | ||
307 | }, | 306 | }, |
308 | .probe = clps711x_fb_probe, | 307 | .probe = clps711x_fb_probe, |
309 | .remove = clps711x_fb_remove, | 308 | .remove = clps711x_fb_remove, |
diff --git a/drivers/video/fbdev/cobalt_lcdfb.c b/drivers/video/fbdev/cobalt_lcdfb.c index d5533f4db1cf..07675d6f323e 100644 --- a/drivers/video/fbdev/cobalt_lcdfb.c +++ b/drivers/video/fbdev/cobalt_lcdfb.c | |||
@@ -391,7 +391,6 @@ static struct platform_driver cobalt_lcdfb_driver = { | |||
391 | .remove = cobalt_lcdfb_remove, | 391 | .remove = cobalt_lcdfb_remove, |
392 | .driver = { | 392 | .driver = { |
393 | .name = "cobalt-lcd", | 393 | .name = "cobalt-lcd", |
394 | .owner = THIS_MODULE, | ||
395 | }, | 394 | }, |
396 | }; | 395 | }; |
397 | module_platform_driver(cobalt_lcdfb_driver); | 396 | module_platform_driver(cobalt_lcdfb_driver); |
diff --git a/drivers/video/fbdev/da8xx-fb.c b/drivers/video/fbdev/da8xx-fb.c index 10c876c95772..0081725c6b5b 100644 --- a/drivers/video/fbdev/da8xx-fb.c +++ b/drivers/video/fbdev/da8xx-fb.c | |||
@@ -1659,7 +1659,6 @@ static struct platform_driver da8xx_fb_driver = { | |||
1659 | .remove = fb_remove, | 1659 | .remove = fb_remove, |
1660 | .driver = { | 1660 | .driver = { |
1661 | .name = DRIVER_NAME, | 1661 | .name = DRIVER_NAME, |
1662 | .owner = THIS_MODULE, | ||
1663 | .pm = &fb_pm_ops, | 1662 | .pm = &fb_pm_ops, |
1664 | }, | 1663 | }, |
1665 | }; | 1664 | }; |
diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c index 982f6abe6faf..4bfff349b1fb 100644 --- a/drivers/video/fbdev/efifb.c +++ b/drivers/video/fbdev/efifb.c | |||
@@ -311,7 +311,6 @@ static int efifb_remove(struct platform_device *pdev) | |||
311 | static struct platform_driver efifb_driver = { | 311 | static struct platform_driver efifb_driver = { |
312 | .driver = { | 312 | .driver = { |
313 | .name = "efi-framebuffer", | 313 | .name = "efi-framebuffer", |
314 | .owner = THIS_MODULE, | ||
315 | }, | 314 | }, |
316 | .probe = efifb_probe, | 315 | .probe = efifb_probe, |
317 | .remove = efifb_remove, | 316 | .remove = efifb_remove, |
diff --git a/drivers/video/fbdev/ep93xx-fb.c b/drivers/video/fbdev/ep93xx-fb.c index 35a0f533f1a2..7ec251cc9c03 100644 --- a/drivers/video/fbdev/ep93xx-fb.c +++ b/drivers/video/fbdev/ep93xx-fb.c | |||
@@ -622,7 +622,6 @@ static struct platform_driver ep93xxfb_driver = { | |||
622 | .remove = ep93xxfb_remove, | 622 | .remove = ep93xxfb_remove, |
623 | .driver = { | 623 | .driver = { |
624 | .name = "ep93xx-fb", | 624 | .name = "ep93xx-fb", |
625 | .owner = THIS_MODULE, | ||
626 | }, | 625 | }, |
627 | }; | 626 | }; |
628 | module_platform_driver(ep93xxfb_driver); | 627 | module_platform_driver(ep93xxfb_driver); |
diff --git a/drivers/video/fbdev/ffb.c b/drivers/video/fbdev/ffb.c index 4c4ffa61ae26..dda31e0a45af 100644 --- a/drivers/video/fbdev/ffb.c +++ b/drivers/video/fbdev/ffb.c | |||
@@ -1052,7 +1052,6 @@ MODULE_DEVICE_TABLE(of, ffb_match); | |||
1052 | static struct platform_driver ffb_driver = { | 1052 | static struct platform_driver ffb_driver = { |
1053 | .driver = { | 1053 | .driver = { |
1054 | .name = "ffb", | 1054 | .name = "ffb", |
1055 | .owner = THIS_MODULE, | ||
1056 | .of_match_table = ffb_match, | 1055 | .of_match_table = ffb_match, |
1057 | }, | 1056 | }, |
1058 | .probe = ffb_probe, | 1057 | .probe = ffb_probe, |
diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/video/fbdev/fsl-diu-fb.c index e8758b9c3bcc..7fa2e6f9e322 100644 --- a/drivers/video/fbdev/fsl-diu-fb.c +++ b/drivers/video/fbdev/fsl-diu-fb.c | |||
@@ -1881,7 +1881,6 @@ MODULE_DEVICE_TABLE(of, fsl_diu_match); | |||
1881 | static struct platform_driver fsl_diu_driver = { | 1881 | static struct platform_driver fsl_diu_driver = { |
1882 | .driver = { | 1882 | .driver = { |
1883 | .name = "fsl-diu-fb", | 1883 | .name = "fsl-diu-fb", |
1884 | .owner = THIS_MODULE, | ||
1885 | .of_match_table = fsl_diu_match, | 1884 | .of_match_table = fsl_diu_match, |
1886 | }, | 1885 | }, |
1887 | .probe = fsl_diu_probe, | 1886 | .probe = fsl_diu_probe, |
diff --git a/drivers/video/fbdev/grvga.c b/drivers/video/fbdev/grvga.c index 2db5bb1a33e8..b471f92969b1 100644 --- a/drivers/video/fbdev/grvga.c +++ b/drivers/video/fbdev/grvga.c | |||
@@ -549,7 +549,6 @@ MODULE_DEVICE_TABLE(of, svgactrl_of_match); | |||
549 | static struct platform_driver grvga_driver = { | 549 | static struct platform_driver grvga_driver = { |
550 | .driver = { | 550 | .driver = { |
551 | .name = "grlib-svgactrl", | 551 | .name = "grlib-svgactrl", |
552 | .owner = THIS_MODULE, | ||
553 | .of_match_table = svgactrl_of_match, | 552 | .of_match_table = svgactrl_of_match, |
554 | }, | 553 | }, |
555 | .probe = grvga_probe, | 554 | .probe = grvga_probe, |
diff --git a/drivers/video/fbdev/hecubafb.c b/drivers/video/fbdev/hecubafb.c index f64120ec9192..e4031ef39491 100644 --- a/drivers/video/fbdev/hecubafb.c +++ b/drivers/video/fbdev/hecubafb.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver hecubafb_driver = { | |||
300 | .probe = hecubafb_probe, | 300 | .probe = hecubafb_probe, |
301 | .remove = hecubafb_remove, | 301 | .remove = hecubafb_remove, |
302 | .driver = { | 302 | .driver = { |
303 | .owner = THIS_MODULE, | ||
304 | .name = "hecubafb", | 303 | .name = "hecubafb", |
305 | }, | 304 | }, |
306 | }; | 305 | }; |
diff --git a/drivers/video/fbdev/hitfb.c b/drivers/video/fbdev/hitfb.c index a648d5186c6e..9d68dc9ee7bf 100644 --- a/drivers/video/fbdev/hitfb.c +++ b/drivers/video/fbdev/hitfb.c | |||
@@ -464,7 +464,6 @@ static struct platform_driver hitfb_driver = { | |||
464 | .remove = hitfb_remove, | 464 | .remove = hitfb_remove, |
465 | .driver = { | 465 | .driver = { |
466 | .name = "hitfb", | 466 | .name = "hitfb", |
467 | .owner = THIS_MODULE, | ||
468 | .pm = &hitfb_dev_pm_ops, | 467 | .pm = &hitfb_dev_pm_ops, |
469 | }, | 468 | }, |
470 | }; | 469 | }; |
diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index f6e621684953..3b6a3c8c36e2 100644 --- a/drivers/video/fbdev/imxfb.c +++ b/drivers/video/fbdev/imxfb.c | |||
@@ -1061,7 +1061,6 @@ static struct platform_driver imxfb_driver = { | |||
1061 | .driver = { | 1061 | .driver = { |
1062 | .name = DRIVER_NAME, | 1062 | .name = DRIVER_NAME, |
1063 | .of_match_table = imxfb_of_dev_id, | 1063 | .of_match_table = imxfb_of_dev_id, |
1064 | .owner = THIS_MODULE, | ||
1065 | .pm = &imxfb_pm_ops, | 1064 | .pm = &imxfb_pm_ops, |
1066 | }, | 1065 | }, |
1067 | .probe = imxfb_probe, | 1066 | .probe = imxfb_probe, |
diff --git a/drivers/video/fbdev/leo.c b/drivers/video/fbdev/leo.c index 2c7f7d479fe2..62e59dc90ee6 100644 --- a/drivers/video/fbdev/leo.c +++ b/drivers/video/fbdev/leo.c | |||
@@ -662,7 +662,6 @@ MODULE_DEVICE_TABLE(of, leo_match); | |||
662 | static struct platform_driver leo_driver = { | 662 | static struct platform_driver leo_driver = { |
663 | .driver = { | 663 | .driver = { |
664 | .name = "leo", | 664 | .name = "leo", |
665 | .owner = THIS_MODULE, | ||
666 | .of_match_table = leo_match, | 665 | .of_match_table = leo_match, |
667 | }, | 666 | }, |
668 | .probe = leo_probe, | 667 | .probe = leo_probe, |
diff --git a/drivers/video/fbdev/metronomefb.c b/drivers/video/fbdev/metronomefb.c index 195cc2db4c2c..ad04a01e2761 100644 --- a/drivers/video/fbdev/metronomefb.c +++ b/drivers/video/fbdev/metronomefb.c | |||
@@ -766,7 +766,6 @@ static struct platform_driver metronomefb_driver = { | |||
766 | .probe = metronomefb_probe, | 766 | .probe = metronomefb_probe, |
767 | .remove = metronomefb_remove, | 767 | .remove = metronomefb_remove, |
768 | .driver = { | 768 | .driver = { |
769 | .owner = THIS_MODULE, | ||
770 | .name = "metronomefb", | 769 | .name = "metronomefb", |
771 | }, | 770 | }, |
772 | }; | 771 | }; |
diff --git a/drivers/video/fbdev/mx3fb.c b/drivers/video/fbdev/mx3fb.c index 23ec781e9a61..9c3f5f53cbd1 100644 --- a/drivers/video/fbdev/mx3fb.c +++ b/drivers/video/fbdev/mx3fb.c | |||
@@ -1646,7 +1646,6 @@ static int mx3fb_remove(struct platform_device *dev) | |||
1646 | static struct platform_driver mx3fb_driver = { | 1646 | static struct platform_driver mx3fb_driver = { |
1647 | .driver = { | 1647 | .driver = { |
1648 | .name = MX3FB_NAME, | 1648 | .name = MX3FB_NAME, |
1649 | .owner = THIS_MODULE, | ||
1650 | }, | 1649 | }, |
1651 | .probe = mx3fb_probe, | 1650 | .probe = mx3fb_probe, |
1652 | .remove = mx3fb_remove, | 1651 | .remove = mx3fb_remove, |
diff --git a/drivers/video/fbdev/nuc900fb.c b/drivers/video/fbdev/nuc900fb.c index 478f9808dee4..389fa2cbb713 100644 --- a/drivers/video/fbdev/nuc900fb.c +++ b/drivers/video/fbdev/nuc900fb.c | |||
@@ -755,7 +755,6 @@ static struct platform_driver nuc900fb_driver = { | |||
755 | .resume = nuc900fb_resume, | 755 | .resume = nuc900fb_resume, |
756 | .driver = { | 756 | .driver = { |
757 | .name = "nuc900-lcd", | 757 | .name = "nuc900-lcd", |
758 | .owner = THIS_MODULE, | ||
759 | }, | 758 | }, |
760 | }; | 759 | }; |
761 | 760 | ||
diff --git a/drivers/video/fbdev/p9100.c b/drivers/video/fbdev/p9100.c index 367cea8f43f3..1f6ee76af878 100644 --- a/drivers/video/fbdev/p9100.c +++ b/drivers/video/fbdev/p9100.c | |||
@@ -353,7 +353,6 @@ MODULE_DEVICE_TABLE(of, p9100_match); | |||
353 | static struct platform_driver p9100_driver = { | 353 | static struct platform_driver p9100_driver = { |
354 | .driver = { | 354 | .driver = { |
355 | .name = "p9100", | 355 | .name = "p9100", |
356 | .owner = THIS_MODULE, | ||
357 | .of_match_table = p9100_match, | 356 | .of_match_table = p9100_match, |
358 | }, | 357 | }, |
359 | .probe = p9100_probe, | 358 | .probe = p9100_probe, |
diff --git a/drivers/video/fbdev/platinumfb.c b/drivers/video/fbdev/platinumfb.c index 4c9299576827..518d1fd38a81 100644 --- a/drivers/video/fbdev/platinumfb.c +++ b/drivers/video/fbdev/platinumfb.c | |||
@@ -679,7 +679,6 @@ static struct platform_driver platinum_driver = | |||
679 | { | 679 | { |
680 | .driver = { | 680 | .driver = { |
681 | .name = "platinumfb", | 681 | .name = "platinumfb", |
682 | .owner = THIS_MODULE, | ||
683 | .of_match_table = platinumfb_match, | 682 | .of_match_table = platinumfb_match, |
684 | }, | 683 | }, |
685 | .probe = platinumfb_probe, | 684 | .probe = platinumfb_probe, |
diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c index c95b9e46d48f..e209b039f553 100644 --- a/drivers/video/fbdev/pxa168fb.c +++ b/drivers/video/fbdev/pxa168fb.c | |||
@@ -823,7 +823,6 @@ static int pxa168fb_remove(struct platform_device *pdev) | |||
823 | static struct platform_driver pxa168fb_driver = { | 823 | static struct platform_driver pxa168fb_driver = { |
824 | .driver = { | 824 | .driver = { |
825 | .name = "pxa168-fb", | 825 | .name = "pxa168-fb", |
826 | .owner = THIS_MODULE, | ||
827 | }, | 826 | }, |
828 | .probe = pxa168fb_probe, | 827 | .probe = pxa168fb_probe, |
829 | .remove = pxa168fb_remove, | 828 | .remove = pxa168fb_remove, |
diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index 4df3657fe221..86bd457d039d 100644 --- a/drivers/video/fbdev/pxa3xx-gcu.c +++ b/drivers/video/fbdev/pxa3xx-gcu.c | |||
@@ -707,7 +707,6 @@ static struct platform_driver pxa3xx_gcu_driver = { | |||
707 | .probe = pxa3xx_gcu_probe, | 707 | .probe = pxa3xx_gcu_probe, |
708 | .remove = pxa3xx_gcu_remove, | 708 | .remove = pxa3xx_gcu_remove, |
709 | .driver = { | 709 | .driver = { |
710 | .owner = THIS_MODULE, | ||
711 | .name = DRV_NAME, | 710 | .name = DRV_NAME, |
712 | }, | 711 | }, |
713 | }; | 712 | }; |
diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c index a5acca88fa63..da2431eda2fd 100644 --- a/drivers/video/fbdev/pxafb.c +++ b/drivers/video/fbdev/pxafb.c | |||
@@ -2304,7 +2304,6 @@ static struct platform_driver pxafb_driver = { | |||
2304 | .probe = pxafb_probe, | 2304 | .probe = pxafb_probe, |
2305 | .remove = pxafb_remove, | 2305 | .remove = pxafb_remove, |
2306 | .driver = { | 2306 | .driver = { |
2307 | .owner = THIS_MODULE, | ||
2308 | .name = "pxa2xx-fb", | 2307 | .name = "pxa2xx-fb", |
2309 | #ifdef CONFIG_PM | 2308 | #ifdef CONFIG_PM |
2310 | .pm = &pxafb_pm_ops, | 2309 | .pm = &pxafb_pm_ops, |
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c index b33abb0a433d..a623a4d0c94f 100644 --- a/drivers/video/fbdev/s3c-fb.c +++ b/drivers/video/fbdev/s3c-fb.c | |||
@@ -1971,7 +1971,6 @@ static struct platform_driver s3c_fb_driver = { | |||
1971 | .id_table = s3c_fb_driver_ids, | 1971 | .id_table = s3c_fb_driver_ids, |
1972 | .driver = { | 1972 | .driver = { |
1973 | .name = "s3c-fb", | 1973 | .name = "s3c-fb", |
1974 | .owner = THIS_MODULE, | ||
1975 | .pm = &s3cfb_pm_ops, | 1974 | .pm = &s3cfb_pm_ops, |
1976 | }, | 1975 | }, |
1977 | }; | 1976 | }; |
diff --git a/drivers/video/fbdev/s3c2410fb.c b/drivers/video/fbdev/s3c2410fb.c index e350eb57f11d..d6704add1601 100644 --- a/drivers/video/fbdev/s3c2410fb.c +++ b/drivers/video/fbdev/s3c2410fb.c | |||
@@ -1104,7 +1104,6 @@ static struct platform_driver s3c2410fb_driver = { | |||
1104 | .resume = s3c2410fb_resume, | 1104 | .resume = s3c2410fb_resume, |
1105 | .driver = { | 1105 | .driver = { |
1106 | .name = "s3c2410-lcd", | 1106 | .name = "s3c2410-lcd", |
1107 | .owner = THIS_MODULE, | ||
1108 | }, | 1107 | }, |
1109 | }; | 1108 | }; |
1110 | 1109 | ||
@@ -1115,7 +1114,6 @@ static struct platform_driver s3c2412fb_driver = { | |||
1115 | .resume = s3c2410fb_resume, | 1114 | .resume = s3c2410fb_resume, |
1116 | .driver = { | 1115 | .driver = { |
1117 | .name = "s3c2412-lcd", | 1116 | .name = "s3c2412-lcd", |
1118 | .owner = THIS_MODULE, | ||
1119 | }, | 1117 | }, |
1120 | }; | 1118 | }; |
1121 | 1119 | ||
diff --git a/drivers/video/fbdev/sa1100fb.c b/drivers/video/fbdev/sa1100fb.c index 9690216d38ff..4900b37d2240 100644 --- a/drivers/video/fbdev/sa1100fb.c +++ b/drivers/video/fbdev/sa1100fb.c | |||
@@ -1288,7 +1288,6 @@ static struct platform_driver sa1100fb_driver = { | |||
1288 | .resume = sa1100fb_resume, | 1288 | .resume = sa1100fb_resume, |
1289 | .driver = { | 1289 | .driver = { |
1290 | .name = "sa11x0-fb", | 1290 | .name = "sa11x0-fb", |
1291 | .owner = THIS_MODULE, | ||
1292 | }, | 1291 | }, |
1293 | }; | 1292 | }; |
1294 | 1293 | ||
diff --git a/drivers/video/fbdev/sh7760fb.c b/drivers/video/fbdev/sh7760fb.c index 1265b25f9f99..96de91d76623 100644 --- a/drivers/video/fbdev/sh7760fb.c +++ b/drivers/video/fbdev/sh7760fb.c | |||
@@ -578,7 +578,6 @@ static int sh7760fb_remove(struct platform_device *dev) | |||
578 | static struct platform_driver sh7760_lcdc_driver = { | 578 | static struct platform_driver sh7760_lcdc_driver = { |
579 | .driver = { | 579 | .driver = { |
580 | .name = "sh7760-lcdc", | 580 | .name = "sh7760-lcdc", |
581 | .owner = THIS_MODULE, | ||
582 | }, | 581 | }, |
583 | .probe = sh7760fb_probe, | 582 | .probe = sh7760fb_probe, |
584 | .remove = sh7760fb_remove, | 583 | .remove = sh7760fb_remove, |
diff --git a/drivers/video/fbdev/sh_mobile_lcdcfb.c b/drivers/video/fbdev/sh_mobile_lcdcfb.c index 2bcc84ac18c7..ba03c8e65ddb 100644 --- a/drivers/video/fbdev/sh_mobile_lcdcfb.c +++ b/drivers/video/fbdev/sh_mobile_lcdcfb.c | |||
@@ -2849,7 +2849,6 @@ err1: | |||
2849 | static struct platform_driver sh_mobile_lcdc_driver = { | 2849 | static struct platform_driver sh_mobile_lcdc_driver = { |
2850 | .driver = { | 2850 | .driver = { |
2851 | .name = "sh_mobile_lcdc_fb", | 2851 | .name = "sh_mobile_lcdc_fb", |
2852 | .owner = THIS_MODULE, | ||
2853 | .pm = &sh_mobile_lcdc_dev_pm_ops, | 2852 | .pm = &sh_mobile_lcdc_dev_pm_ops, |
2854 | }, | 2853 | }, |
2855 | .probe = sh_mobile_lcdc_probe, | 2854 | .probe = sh_mobile_lcdc_probe, |
diff --git a/drivers/video/fbdev/sh_mobile_meram.c b/drivers/video/fbdev/sh_mobile_meram.c index a297de5cc859..1d56108dee9c 100644 --- a/drivers/video/fbdev/sh_mobile_meram.c +++ b/drivers/video/fbdev/sh_mobile_meram.c | |||
@@ -745,7 +745,6 @@ static int sh_mobile_meram_remove(struct platform_device *pdev) | |||
745 | static struct platform_driver sh_mobile_meram_driver = { | 745 | static struct platform_driver sh_mobile_meram_driver = { |
746 | .driver = { | 746 | .driver = { |
747 | .name = "sh_mobile_meram", | 747 | .name = "sh_mobile_meram", |
748 | .owner = THIS_MODULE, | ||
749 | .pm = &sh_mobile_meram_dev_pm_ops, | 748 | .pm = &sh_mobile_meram_dev_pm_ops, |
750 | }, | 749 | }, |
751 | .probe = sh_mobile_meram_probe, | 750 | .probe = sh_mobile_meram_probe, |
diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c index 210f3a02121a..76756c80cad6 100644 --- a/drivers/video/fbdev/simplefb.c +++ b/drivers/video/fbdev/simplefb.c | |||
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(of, simplefb_of_match); | |||
267 | static struct platform_driver simplefb_driver = { | 267 | static struct platform_driver simplefb_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "simple-framebuffer", | 269 | .name = "simple-framebuffer", |
270 | .owner = THIS_MODULE, | ||
271 | .of_match_table = simplefb_of_match, | 270 | .of_match_table = simplefb_of_match, |
272 | }, | 271 | }, |
273 | .probe = simplefb_probe, | 272 | .probe = simplefb_probe, |
diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index 9e74e8fbe074..0f8fb9925e11 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c | |||
@@ -2224,7 +2224,6 @@ static struct platform_driver sm501fb_driver = { | |||
2224 | .resume = sm501fb_resume, | 2224 | .resume = sm501fb_resume, |
2225 | .driver = { | 2225 | .driver = { |
2226 | .name = "sm501-fb", | 2226 | .name = "sm501-fb", |
2227 | .owner = THIS_MODULE, | ||
2228 | }, | 2227 | }, |
2229 | }; | 2228 | }; |
2230 | 2229 | ||
diff --git a/drivers/video/fbdev/sunxvr1000.c b/drivers/video/fbdev/sunxvr1000.c index 58241b47a96d..08879bdfad35 100644 --- a/drivers/video/fbdev/sunxvr1000.c +++ b/drivers/video/fbdev/sunxvr1000.c | |||
@@ -202,7 +202,6 @@ static struct platform_driver gfb_driver = { | |||
202 | .remove = gfb_remove, | 202 | .remove = gfb_remove, |
203 | .driver = { | 203 | .driver = { |
204 | .name = "gfb", | 204 | .name = "gfb", |
205 | .owner = THIS_MODULE, | ||
206 | .of_match_table = gfb_match, | 205 | .of_match_table = gfb_match, |
207 | }, | 206 | }, |
208 | }; | 207 | }; |
diff --git a/drivers/video/fbdev/tcx.c b/drivers/video/fbdev/tcx.c index 7fb2d696fac7..54ad08854c94 100644 --- a/drivers/video/fbdev/tcx.c +++ b/drivers/video/fbdev/tcx.c | |||
@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, tcx_match); | |||
512 | static struct platform_driver tcx_driver = { | 512 | static struct platform_driver tcx_driver = { |
513 | .driver = { | 513 | .driver = { |
514 | .name = "tcx", | 514 | .name = "tcx", |
515 | .owner = THIS_MODULE, | ||
516 | .of_match_table = tcx_match, | 515 | .of_match_table = tcx_match, |
517 | }, | 516 | }, |
518 | .probe = tcx_probe, | 517 | .probe = tcx_probe, |
diff --git a/drivers/video/fbdev/vesafb.c b/drivers/video/fbdev/vesafb.c index 6170e7f58640..d79a0ac49fc7 100644 --- a/drivers/video/fbdev/vesafb.c +++ b/drivers/video/fbdev/vesafb.c | |||
@@ -512,7 +512,6 @@ static int vesafb_remove(struct platform_device *pdev) | |||
512 | static struct platform_driver vesafb_driver = { | 512 | static struct platform_driver vesafb_driver = { |
513 | .driver = { | 513 | .driver = { |
514 | .name = "vesa-framebuffer", | 514 | .name = "vesa-framebuffer", |
515 | .owner = THIS_MODULE, | ||
516 | }, | 515 | }, |
517 | .probe = vesafb_probe, | 516 | .probe = vesafb_probe, |
518 | .remove = vesafb_remove, | 517 | .remove = vesafb_remove, |
diff --git a/drivers/video/fbdev/vt8500lcdfb.c b/drivers/video/fbdev/vt8500lcdfb.c index a1134c3f6c11..ffaf29eeaaba 100644 --- a/drivers/video/fbdev/vt8500lcdfb.c +++ b/drivers/video/fbdev/vt8500lcdfb.c | |||
@@ -486,7 +486,6 @@ static struct platform_driver vt8500lcd_driver = { | |||
486 | .probe = vt8500lcd_probe, | 486 | .probe = vt8500lcd_probe, |
487 | .remove = vt8500lcd_remove, | 487 | .remove = vt8500lcd_remove, |
488 | .driver = { | 488 | .driver = { |
489 | .owner = THIS_MODULE, | ||
490 | .name = "vt8500-lcd", | 489 | .name = "vt8500-lcd", |
491 | .of_match_table = of_match_ptr(via_dt_ids), | 490 | .of_match_table = of_match_ptr(via_dt_ids), |
492 | }, | 491 | }, |
diff --git a/drivers/video/fbdev/wm8505fb.c b/drivers/video/fbdev/wm8505fb.c index d2fafbbcd7f8..e925619da39b 100644 --- a/drivers/video/fbdev/wm8505fb.c +++ b/drivers/video/fbdev/wm8505fb.c | |||
@@ -407,7 +407,6 @@ static struct platform_driver wm8505fb_driver = { | |||
407 | .probe = wm8505fb_probe, | 407 | .probe = wm8505fb_probe, |
408 | .remove = wm8505fb_remove, | 408 | .remove = wm8505fb_remove, |
409 | .driver = { | 409 | .driver = { |
410 | .owner = THIS_MODULE, | ||
411 | .name = DRIVER_NAME, | 410 | .name = DRIVER_NAME, |
412 | .of_match_table = wmt_dt_ids, | 411 | .of_match_table = wmt_dt_ids, |
413 | }, | 412 | }, |
diff --git a/drivers/video/fbdev/wmt_ge_rops.c b/drivers/video/fbdev/wmt_ge_rops.c index 9df6fe78a44b..89d23844c1db 100644 --- a/drivers/video/fbdev/wmt_ge_rops.c +++ b/drivers/video/fbdev/wmt_ge_rops.c | |||
@@ -167,7 +167,6 @@ static struct platform_driver wmt_ge_rops_driver = { | |||
167 | .probe = wmt_ge_rops_probe, | 167 | .probe = wmt_ge_rops_probe, |
168 | .remove = wmt_ge_rops_remove, | 168 | .remove = wmt_ge_rops_remove, |
169 | .driver = { | 169 | .driver = { |
170 | .owner = THIS_MODULE, | ||
171 | .name = "wmt_ge_rops", | 170 | .name = "wmt_ge_rops", |
172 | .of_match_table = wmt_dt_ids, | 171 | .of_match_table = wmt_dt_ids, |
173 | }, | 172 | }, |
diff --git a/drivers/video/fbdev/xilinxfb.c b/drivers/video/fbdev/xilinxfb.c index 553cff2f3f4c..17dc119c7a98 100644 --- a/drivers/video/fbdev/xilinxfb.c +++ b/drivers/video/fbdev/xilinxfb.c | |||
@@ -497,7 +497,6 @@ static struct platform_driver xilinxfb_of_driver = { | |||
497 | .remove = xilinxfb_of_remove, | 497 | .remove = xilinxfb_of_remove, |
498 | .driver = { | 498 | .driver = { |
499 | .name = DRIVER_NAME, | 499 | .name = DRIVER_NAME, |
500 | .owner = THIS_MODULE, | ||
501 | .of_match_table = xilinxfb_of_match, | 500 | .of_match_table = xilinxfb_of_match, |
502 | }, | 501 | }, |
503 | }; | 502 | }; |