aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-28 17:18:26 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-09-03 16:13:28 +0300
commite7df6571024ba791c6521efba5b3875724c47af6 (patch)
tree0c4e658f6e494d7e1bea7038389b600d1d2d3901 /drivers/gpu/drm/omapdrm/dss
parentdrm/omap: panel-tpo-td028ttec1: Drop unneeded linux/gpio.h header (diff)
downloadlinux-dev-e7df6571024ba791c6521efba5b3875724c47af6.tar.xz
linux-dev-e7df6571024ba791c6521efba5b3875724c47af6.zip
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/dss')
0 files changed, 0 insertions, 0 deletions