OMAPDSS: register dss drivers in module init
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 19 Mar 2012 13:05:02 +0000 (15:05 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 13 May 2012 14:38:10 +0000 (17:38 +0300)
commitfcfd42af159d2b5bc6f6da47b337a6a746d58622
tree9e69ee17a2aec940312bc6d6fe8b7c92e3ecc7aa
parent2f3f4e84488a26bc7a8e2ab4b0aac6ad0201a75c
OMAPDSS: register dss drivers in module init

We do the dss driver registration in a rather strange way: we have the
higher level omapdss driver, and we use that driver's probe function to
register the drivers for the rest of the dss devices.

There doesn't seem to be any reason for that, and additionally the
soon-to-be-merged patch "ARM: OMAP: omap_device: remove
omap_device_parent" will break omapdss initialization with the current
registration model.

This patch changes the registration for all drivers to happen at the
same place, in the init of the module.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/omap2/dss/core.c