]> 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)
commit743c5408517ddc0bb22a6db89c7d519b127a4d4d
treece7784a17caff0191b4ecda6b29c478826f02b27
parentaf63cbf81023c5efc9392e0405224371f2c153dc
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