diff options
-rw-r--r-- | drivers/video/amifb.c | 14 | ||||
-rw-r--r-- | drivers/video/atmel_lcdfb.c | 13 | ||||
-rw-r--r-- | drivers/video/omap2/vrfb.c | 13 | ||||
-rw-r--r-- | drivers/video/sh_mipi_dsi.c | 12 | ||||
-rw-r--r-- | drivers/video/sh_mobile_hdmi.c | 12 |
5 files changed, 5 insertions, 59 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c index 7fa1bf823729..77cb4ffa1fe4 100644 --- a/drivers/video/amifb.c +++ b/drivers/video/amifb.c | |||
@@ -3788,19 +3788,7 @@ static struct platform_driver amifb_driver = { | |||
3788 | }, | 3788 | }, |
3789 | }; | 3789 | }; |
3790 | 3790 | ||
3791 | static int __init amifb_init(void) | 3791 | module_platform_driver_probe(amifb_driver, amifb_probe); |
3792 | { | ||
3793 | return platform_driver_probe(&amifb_driver, amifb_probe); | ||
3794 | } | ||
3795 | |||
3796 | module_init(amifb_init); | ||
3797 | |||
3798 | static void __exit amifb_exit(void) | ||
3799 | { | ||
3800 | platform_driver_unregister(&amifb_driver); | ||
3801 | } | ||
3802 | |||
3803 | module_exit(amifb_exit); | ||
3804 | 3792 | ||
3805 | MODULE_LICENSE("GPL"); | 3793 | MODULE_LICENSE("GPL"); |
3806 | MODULE_ALIAS("platform:amiga-video"); | 3794 | MODULE_ALIAS("platform:amiga-video"); |
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 025428e04c33..98348ec0b3ce 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c | |||
@@ -1158,18 +1158,7 @@ static struct platform_driver atmel_lcdfb_driver = { | |||
1158 | }, | 1158 | }, |
1159 | }; | 1159 | }; |
1160 | 1160 | ||
1161 | static int __init atmel_lcdfb_init(void) | 1161 | module_platform_driver_probe(atmel_lcdfb_driver, atmel_lcdfb_probe); |
1162 | { | ||
1163 | return platform_driver_probe(&atmel_lcdfb_driver, atmel_lcdfb_probe); | ||
1164 | } | ||
1165 | |||
1166 | static void __exit atmel_lcdfb_exit(void) | ||
1167 | { | ||
1168 | platform_driver_unregister(&atmel_lcdfb_driver); | ||
1169 | } | ||
1170 | |||
1171 | module_init(atmel_lcdfb_init); | ||
1172 | module_exit(atmel_lcdfb_exit); | ||
1173 | 1162 | ||
1174 | MODULE_DESCRIPTION("AT91/AT32 LCD Controller framebuffer driver"); | 1163 | MODULE_DESCRIPTION("AT91/AT32 LCD Controller framebuffer driver"); |
1175 | MODULE_AUTHOR("Nicolas Ferre <nicolas.ferre@atmel.com>"); | 1164 | MODULE_AUTHOR("Nicolas Ferre <nicolas.ferre@atmel.com>"); |
diff --git a/drivers/video/omap2/vrfb.c b/drivers/video/omap2/vrfb.c index 10560efeb35a..5261229c79af 100644 --- a/drivers/video/omap2/vrfb.c +++ b/drivers/video/omap2/vrfb.c | |||
@@ -397,18 +397,7 @@ static struct platform_driver vrfb_driver = { | |||
397 | .remove = __exit_p(vrfb_remove), | 397 | .remove = __exit_p(vrfb_remove), |
398 | }; | 398 | }; |
399 | 399 | ||
400 | static int __init vrfb_init(void) | 400 | module_platform_driver_probe(vrfb_driver, vrfb_probe); |
401 | { | ||
402 | return platform_driver_probe(&vrfb_driver, &vrfb_probe); | ||
403 | } | ||
404 | |||
405 | static void __exit vrfb_exit(void) | ||
406 | { | ||
407 | platform_driver_unregister(&vrfb_driver); | ||
408 | } | ||
409 | |||
410 | module_init(vrfb_init); | ||
411 | module_exit(vrfb_exit); | ||
412 | 401 | ||
413 | MODULE_AUTHOR("Tomi Valkeinen <tomi.valkeinen@ti.com>"); | 402 | MODULE_AUTHOR("Tomi Valkeinen <tomi.valkeinen@ti.com>"); |
414 | MODULE_DESCRIPTION("OMAP VRFB"); | 403 | MODULE_DESCRIPTION("OMAP VRFB"); |
diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c index 701b461cf8a9..6cad53075e99 100644 --- a/drivers/video/sh_mipi_dsi.c +++ b/drivers/video/sh_mipi_dsi.c | |||
@@ -581,17 +581,7 @@ static struct platform_driver sh_mipi_driver = { | |||
581 | }, | 581 | }, |
582 | }; | 582 | }; |
583 | 583 | ||
584 | static int __init sh_mipi_init(void) | 584 | module_platform_driver_probe(sh_mipi_driver, sh_mipi_probe); |
585 | { | ||
586 | return platform_driver_probe(&sh_mipi_driver, sh_mipi_probe); | ||
587 | } | ||
588 | module_init(sh_mipi_init); | ||
589 | |||
590 | static void __exit sh_mipi_exit(void) | ||
591 | { | ||
592 | platform_driver_unregister(&sh_mipi_driver); | ||
593 | } | ||
594 | module_exit(sh_mipi_exit); | ||
595 | 585 | ||
596 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); | 586 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); |
597 | MODULE_DESCRIPTION("SuperH / ARM-shmobile MIPI DSI driver"); | 587 | MODULE_DESCRIPTION("SuperH / ARM-shmobile MIPI DSI driver"); |
diff --git a/drivers/video/sh_mobile_hdmi.c b/drivers/video/sh_mobile_hdmi.c index 930e550e752a..bfe4728480fd 100644 --- a/drivers/video/sh_mobile_hdmi.c +++ b/drivers/video/sh_mobile_hdmi.c | |||
@@ -1445,17 +1445,7 @@ static struct platform_driver sh_hdmi_driver = { | |||
1445 | }, | 1445 | }, |
1446 | }; | 1446 | }; |
1447 | 1447 | ||
1448 | static int __init sh_hdmi_init(void) | 1448 | module_platform_driver_probe(sh_hdmi_driver, sh_hdmi_probe); |
1449 | { | ||
1450 | return platform_driver_probe(&sh_hdmi_driver, sh_hdmi_probe); | ||
1451 | } | ||
1452 | module_init(sh_hdmi_init); | ||
1453 | |||
1454 | static void __exit sh_hdmi_exit(void) | ||
1455 | { | ||
1456 | platform_driver_unregister(&sh_hdmi_driver); | ||
1457 | } | ||
1458 | module_exit(sh_hdmi_exit); | ||
1459 | 1449 | ||
1460 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); | 1450 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); |
1461 | MODULE_DESCRIPTION("SuperH / ARM-shmobile HDMI driver"); | 1451 | MODULE_DESCRIPTION("SuperH / ARM-shmobile HDMI driver"); |