From: Dmitry Torokhov Date: Fri, 4 Nov 2022 03:16:32 +0000 (-0700) Subject: fbdev: omapfb: panel-sony-acx565akm: switch to using gpiod API X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=844c245fc49d21639ed9e00c4b3ac0f219b7c6ce;p=linux.git fbdev: omapfb: panel-sony-acx565akm: switch to using gpiod API Switch the driver from legacy gpio API that is deprecated to the newer gpiod API that respects line polarities described in ACPI/DT. Note that because existing DTSes specify incorrect polarity of reset lines (active high) and GPU drivers have adopted to this, we follow the suit and use inverted values when controlling reset lines. Signed-off-by: Dmitry Torokhov Signed-off-by: Helge Deller --- diff --git a/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c b/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c index 0c81d3ff41974..685c63aa4e030 100644 --- a/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c +++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c @@ -18,9 +18,8 @@ #include #include #include -#include +#include #include -#include #include