]> git.baikalelectronics.ru Git - kernel.git/commit
video: imxfb: Use module_platform_driver()
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 05:56:24 +0000 (09:56 +0400)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 28 Feb 2014 10:35:28 +0000 (12:35 +0200)
commita53ba1bd07721aa968b24229dff29eb0662a4f43
tree3fce212d8594b73a1c5e2b8ccf8b779a1b804de8
parent44672ccf0f5688ac32e4b0a1fdca02bea88225bb
video: imxfb: Use module_platform_driver()

We have no reason to call fb_get_options() when registering module,
so move this call in the probe() and convert the driver to use
module_platform_driver() macro.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/imxfb.c