diff options
author | Thierry Reding <treding@nvidia.com> | 2019-06-05 11:46:46 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-06-05 16:06:03 +0300 |
commit | bbad640709fd43ff77b8838c409c977c0b28430c (patch) | |
tree | 40985cea4da204a3ae6e0e20c54cc115d2717acb /drivers/gpu/drm/tegra/drm.h | |
parent | 31fa25f100ec0ce25ccf61d1468928c64d1c2fd9 (diff) | |
download | linux-bbad640709fd43ff77b8838c409c977c0b28430c.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r-- | drivers/gpu/drm/tegra/drm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h index 70154c253d45..488f36f00bd8 100644 --- a/drivers/gpu/drm/tegra/drm.h +++ b/drivers/gpu/drm/tegra/drm.h @@ -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; |