drm/omap: Simplify OF lookup of DSS devices
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 21 Sep 2018 20:32:58 +0000 (23:32 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Mar 2019 09:42:13 +0000 (11:42 +0200)
commitce69aac84fe322ab5e1f91224dc15d1957ded75c
treea7715645dba03d5a48570048705734f3bcdca282
parente5906f765c68b3fa0e9806116a73c786c09642e2
drm/omap: Simplify OF lookup of DSS devices

Now that the direction of OF graph walk has been reversed, there's no
need to lookup devices by port as we have no sink device connected
through multiple sink ports. Simplify OF lookup of the DSS devices to
look them up by node only.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/base.c
drivers/gpu/drm/omapdrm/dss/dss-of.c
drivers/gpu/drm/omapdrm/dss/omapdss.h