drivers: video: use module_platform_driver_probe()
authorFabio Porcedda <fabio.porcedda@gmail.com>
Fri, 15 Mar 2013 13:02:38 +0000 (14:02 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Apr 2013 12:03:31 +0000 (15:03 +0300)
commit3ccbf89f4d86cc8f4d6645fa5db0327ef835777b
treecdb508ee9b2b9443cc4425b3cf37a6e5feefc008
parentcd19965a5e80abfa1a83a1fdc35f38c93972e209
drivers: video: use module_platform_driver_probe()

This patch converts the drivers to use the
module_platform_driver_probe() macro which makes the code smaller and
a bit simpler.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> # atmel_lcdfb.c
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> # amifb.c
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/amifb.c
drivers/video/atmel_lcdfb.c
drivers/video/omap2/vrfb.c
drivers/video/sh_mipi_dsi.c
drivers/video/sh_mobile_hdmi.c