]> git.baikalelectronics.ru Git - kernel.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)
commit9c2b7431763c7306896d7b888711b79166ef7cea
treece7784a17caff0191b4ecda6b29c478826f02b27
parent4f2ff64a90f93af75c18625162df7d0921fa0c60
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