diff options
author | Rahul Sharma <rahul.sharma@samsung.com> | 2013-06-11 19:41:29 +0530 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2013-06-28 21:13:56 +0900 |
commit | 5f916e289894e97f3b4c3a91a44debf9a47d1b85 (patch) | |
tree | 7c1d3a67c791902ba92af284d5328f0b2e7cd479 /drivers/gpu/drm | |
parent | 23f340e0314eab461d33ae91250f9b47af23918f (diff) | |
download | blackbird-op-linux-5f916e289894e97f3b4c3a91a44debf9a47d1b85.tar.gz blackbird-op-linux-5f916e289894e97f3b4c3a91a44debf9a47d1b85.zip |
drm/exynos: use of_get_named_gpio to get hdmi hpd gpio
Cleanup by removing flags variable from drm_hdmi_dt_parse_pdata
which is not used anywhere. Swtiching to of_get_named_gpio instead
of of_get_named_gpio_flags solved this.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Acked-by: Seung-Woo Kim <sw0312@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index ce13a23a8274..743059fed39b 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1864,7 +1864,6 @@ static struct s5p_hdmi_platform_data *drm_hdmi_dt_parse_pdata { struct device_node *np = dev->of_node; struct s5p_hdmi_platform_data *pd; - enum of_gpio_flags flags; u32 value; pd = devm_kzalloc(dev, sizeof(*pd), GFP_KERNEL); @@ -1878,7 +1877,7 @@ static struct s5p_hdmi_platform_data *drm_hdmi_dt_parse_pdata goto err_data; } - pd->hpd_gpio = of_get_named_gpio_flags(np, "hpd-gpio", 0, &flags); + pd->hpd_gpio = of_get_named_gpio(np, "hpd-gpio", 0); return pd; |