OMAPDSS: tpo-td043 panel: fix data passing between SPI/DSS parts
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 17 Feb 2013 00:43:12 +0000 (02:43 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 22 Mar 2013 08:14:32 +0000 (10:14 +0200)
commita2f9b2a5607e494e6b98b0101aaa731b42454ad0
tree8b6436c6c510206e7adbdba13afbf427fa8e5480
parentd31c3a81893e3416ea519d1b1383f319c046641f
OMAPDSS: tpo-td043 panel: fix data passing between SPI/DSS parts

This driver uses omap_dss_device that it gets from a board file through
SPI platfrom_data pointer to pass data from SPI to DSS portion of the
driver by using dev_set_drvdata(). However this trick no longer works,
as DSS core no longer uses omap_dss_device from a board file to create
the real device, so use a global pointer to accomplish this instead,
like other SPI panel drivers do.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-tpo-td043mtea1.c