diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-28 17:18:26 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 16:13:28 +0300 |
commit | e7df6571024ba791c6521efba5b3875724c47af6 (patch) | |
tree | 0c4e658f6e494d7e1bea7038389b600d1d2d3901 /drivers/gpu/drm/omapdrm/omap_drv.c | |
parent | 2167f9e28a30a4b129b2464fbc5ee8c15e254ff1 (diff) | |
download | linux-e7df6571024ba791c6521efba5b3875724c47af6.tar.xz |
drm/omap: panel-tpo-td043mtea1: 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. Rename the
nreset_gpio field to reset_gpio to reflect that.
The reset GPIO is mandatory, so drop conditional tests through 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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_drv.c')
0 files changed, 0 insertions, 0 deletions