]> git.itanic.dy.fi Git - linux-stable/commit
drm/i915/dsi: Use devm_gpiod_get() for all GPIOs
authorHans de Goede <hdegoede@redhat.com>
Fri, 1 Dec 2023 16:11:30 +0000 (17:11 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 Dec 2023 15:17:23 +0000 (16:17 +0100)
commit4de77156a2acdec0014fa89fc1766a7410d726ff
tree692c560b62658909922186275d98cef52685f1b0
parent1116efbff3b106ec131e833f0e78f35c923d0104
drm/i915/dsi: Use devm_gpiod_get() for all GPIOs

soc_gpio_set_value() already uses devm_gpiod_get(), lets be consistent
and use devm_gpiod_get() for all GPIOs.

This allows removing the intel_dsi_vbt_gpio_cleanup() function,
which only function was to put the GPIO-descriptors.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231201161130.23976-1-hdegoede@redhat.com
drivers/gpu/drm/i915/display/intel_dsi_vbt.c
drivers/gpu/drm/i915/display/intel_dsi_vbt.h
drivers/gpu/drm/i915/display/vlv_dsi.c