drm/tegra: Use GPIO descriptor API

The legacy GPIO API has long been deprecated. Move the driver over to
the descriptor-based API, which allows us to get rid of some boilerplate
while at it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Thierry Reding
2019-06-05 10:46:46 +02:00
parent 31fa25f100
commit bbad640709
2 changed files with 20 additions and 35 deletions

View File

@@ -127,8 +127,7 @@ struct tegra_output {
const struct edid *edid;
struct cec_notifier *cec;
unsigned int hpd_irq;
int hpd_gpio;
enum of_gpio_flags hpd_gpio_flags;
struct gpio_desc *hpd_gpio;
struct drm_encoder encoder;
struct drm_connector connector;