]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panel: himax-hx8394: switch to devm_gpiod_get_optional() for reset_gpio
authorManikandan Muralidharan <manikandan.m@microchip.com>
Mon, 1 Jul 2024 08:58:36 +0000 (14:28 +0530)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 9 Jul 2024 12:45:54 +0000 (14:45 +0200)
commit1dcfca093be9e013a53e3c9b74b3f60ea9c5160e
treef5914a0f21c22784c5ea34f9f4d325d38c2dfb37
parent223c12dd492d67d90d3712ef3d9e042116a47522
drm/panel: himax-hx8394: switch to devm_gpiod_get_optional() for reset_gpio

Switch the driver to use devm_gpiod_get_optional() on reset_gpio to avoid
driver probe issues when reset line is not specified.

Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240701085837.50855-3-manikandan.m@microchip.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240701085837.50855-3-manikandan.m@microchip.com
drivers/gpu/drm/panel/panel-himax-hx8394.c