OSDN Git Service

drm: omapdrm: dpi: Remove dpi_data port_initialized field
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 13 Oct 2017 14:59:03 +0000 (17:59 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 19 Dec 2017 08:32:00 +0000 (10:32 +0200)
commit9dd894d5dc5c1c4ddd3853d290d88d910f29582c
tree462770cb6452d5317557394bba14168db0f6a298
parent9be9d7efe7a39641ff4728b47e9955fda8cb2f7a
drm: omapdrm: dpi: Remove dpi_data port_initialized field

The dpi_data structure port_initialized field is used to check in the
cleanup path whether the DPI has been initialized. This can be performed
through the associated device_node data field instead. Remove the
port_initialized field.

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