OMAPDSS: only probe pdata if there's one
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 14 Mar 2013 13:47:29 +0000 (15:47 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:39 +0000 (14:00 +0300)
commitc6ca5b2201289995f70ee19c0eaf4b5f2ae09923
treeacf7cce67a9df7ec5bf959bc9af390afc510aa2d
parent0a20012605033c8acd8b2c209c422d78880e2896
OMAPDSS: only probe pdata if there's one

omapdss output drivers always read the platform data. This crashes when
there's no platform data when using DT.

Add a check to read the platform data only if it exists.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/rfbi.c
drivers/video/omap2/dss/sdi.c
drivers/video/omap2/dss/venc.c