linux/drivers/video/omap2
Tomi Valkeinen c018c6738b OMAPDSS: change default_device handling
We currently have a two ways to set a "default panel device" for dss, to
which the overlays are connected when the omapdss driver is loaded:

- in textual format (name of the display) as cmdline parameter
- as a pointer to the panel device from board file via pdata

The current code handles this in a bit too complex way by using both of
the above methods during runtime. However, with DT we don't have pdata
anymore, so the code handling the second case won't work anymore. The
current code has also the problem that it modifies the platform_data.

This patch simplifies the code a bit by using the pointer method only
inside the probe function, and stores the name of the panel device. This
way we only need to handle the textual format during operation and also
avoid modifying the platform_data.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-05-11 14:44:52 +03:00
..
displays OMAPDSS: TFP410: pdata rewrite 2012-05-11 14:44:50 +03:00
dss OMAPDSS: change default_device handling 2012-05-11 14:44:52 +03:00
omapfb OMAPFB: add __init & __exit 2012-05-11 14:44:52 +03:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP2: avoid descending into disabled framebuffer dirs 2011-05-11 14:20:53 +03:00
vram.c OMAPDSS: Remove video SRAM support 2012-02-23 09:38:26 +02:00
vrfb.c ARM: OMAP: Remove remaining includes for mach/io.h 2012-03-06 21:34:38 -06:00