drm: omapdrm: panel-dpi: Remove unneeded check for OF node
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 4 Aug 2017 22:43:48 +0000 (01:43 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Aug 2017 12:18:25 +0000 (15:18 +0300)
commitafed19e46eec6f4ccc5690ce7999b99b13df3ba8
treef927071bda6cf83ea81bd53a1b5d7e94ed317c46
parent2782d41f2838912f7a98b986694616500f696945
drm: omapdrm: panel-dpi: Remove unneeded check for OF node

As non-DT booting is no longer supported, the only way to instantiate
the device is through an OF node, which is guaranteed to be present.
Remove the unneeded check.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/displays/panel-dpi.c