aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap/lcd_inn1510.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-08 20:59:56 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-01-02 01:51:25 -0500
commitf806f9b6b8ec2c8b6a3297e684bcb80f54e3dc98 (patch)
treeab1e550e81bb006428d772656b9ef51d316ff8fb /drivers/video/omap/lcd_inn1510.c
parentf990544125b7599e537dbb17c511e68f2dbdb910 (diff)
video: omap: convert drivers/video/omap/* to use module_platform_driver()
This patch converts the drivers in drivers/video/omap/* to use the module_platform_driver() macro which makes the code smaller and a bit simpler. Cc: Jonathan McDowell <noodles@earth.li> Cc: Cory Maccarrone <darkstar6262@gmail.com> Cc: Laurent Gonzalez <palmte.linux@free.fr> Cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap/lcd_inn1510.c')
-rw-r--r--drivers/video/omap/lcd_inn1510.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/video/omap/lcd_inn1510.c b/drivers/video/omap/lcd_inn1510.c
index d12994613bdf..b38b1dd15ce3 100644
--- a/drivers/video/omap/lcd_inn1510.c
+++ b/drivers/video/omap/lcd_inn1510.c
@@ -109,16 +109,4 @@ static struct platform_driver innovator1510_panel_driver = {
109 }, 109 },
110}; 110};
111 111
112static int __init innovator1510_panel_drv_init(void) 112module_platform_driver(innovator1510_panel_driver);
113{
114 return platform_driver_register(&innovator1510_panel_driver);
115}
116
117static void __exit innovator1510_panel_drv_cleanup(void)
118{
119 platform_driver_unregister(&innovator1510_panel_driver);
120}
121
122module_init(innovator1510_panel_drv_init);
123module_exit(innovator1510_panel_drv_cleanup);
124