From: Dmitry Torokhov Date: Fri, 4 Nov 2022 03:16:36 +0000 (-0700) Subject: fbdev: omapfb: panel-nec-nl8048hl11: switch to using gpiod API X-Git-Tag: v6.2-rc1~81^2~22 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=39630e0f138a4821cd219a83fd727cf39d304201;p=linux-2.6-block.git fbdev: omapfb: panel-nec-nl8048hl11: 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-nec-nl8048hl11.c b/drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c index b407173e27b1..33563953b2ff 100644 --- a/drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c +++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c @@ -7,12 +7,12 @@ * Converted to new DSS device model: Tomi Valkeinen */ -#include #include -#include +#include #include -#include -#include +#include +#include +#include #include