drm/omap: panel-nec-nl8048hl11: Convert to the GPIO descriptors API
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 28 May 2018 14:18:26 +0000 (17:18 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:28 +0000 (16:13 +0300)
commit57e0478a29cf280c8ea26d06d393994ff336eeb6
treec365075f97281d95caf0790741c6e41142dad680
parentac2d1fcbebd6e9ff3a5ef645f88611a6ba9b4ece
drm/omap: panel-nec-nl8048hl11: Convert to the GPIO descriptors API

The GPIO descriptor API is favoured over the plain GPIO API for consumer
drivers. Using it simplifies the driver code.

The reset GPIO is mandatory, so drop conditional tests through the
driver. The qvga GPIO is unused, so drop it completely.

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/displays/panel-nec-nl8048hl11.c