]> asedeno.scripts.mit.edu Git - linux.git/commit
OMAPDSS: simplify submodule reg/unreg code
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Jun 2015 11:44:49 +0000 (14:44 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Jun 2015 10:44:57 +0000 (13:44 +0300)
commitad4eaef7bacb034b92273806bbca2e525fb94deb
treece7784a17caff0191b4ecda6b29c478826f02b27
parent736e60ddc215b85e73bbf7da26e1cde84cc9500f
OMAPDSS: simplify submodule reg/unreg code

Now that we are using components in omapdss, there's no need for
separate handling of dss and dispc driver init. Thus we can move the dss
and dispc init and unit func pointers to the lists we use for the other
dss submodules.

We can now also handle errors returned by the registration functions
properly: if registering a driver fails, we can stop processing and
return the error.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/fbdev/omap2/dss/core.c