drm/tegra: Fix gpiod_get_from_of_node() regression
authorDmitry Osipenko <digetx@gmail.com>
Fri, 5 Jul 2019 15:11:39 +0000 (18:11 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 25 Jul 2019 13:23:26 +0000 (15:23 +0200)
commit2a6fc3cb5cb68597f1072bfeef28d2ca02310220
tree0f42849c0062f4b5c649dafc65a44ae90cf9340c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
drm/tegra: Fix gpiod_get_from_of_node() regression

That function now returns ERR_PTR instead of NULL if "hpd-gpio" is not
present in device-tree. The offending patch missed to adapt the Tegra's
DRM driver for the API change.

Fixes: 025bf37725f1 ("gpio: Fix return value mismatch of function gpiod_get_from_of_node()")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/output.c