drm/omap: encoder-tfp410: 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)
commitac2d1fcbebd6e9ff3a5ef645f88611a6ba9b4ece
tree9d418bd6188737a222b0b7f9b557bed2f76ac0aa
parentede880e1825bfe267088afcf1c096ec62713f005
drm/omap: encoder-tfp410: 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.

As the descriptor API handles the active-low flag internally we need to
invert the polarity of all GPIO operations in the driver.

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/encoder-tfp410.c