]> git.karo-electronics.de Git - linux-beck.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)
commitde5013627fba6a9135a9aee1418ee927bbfdd8c8
tree3fce212d8594b73a1c5e2b8ccf8b779a1b804de8
parentb7d2d37276c1dce86d9a55239f0686e1bd81a37f
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