From 836bfb5688e3ea87574760af82c82fa752b2540f Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Thu, 3 Nov 2022 20:16:35 -0700 Subject: fbdev: omapfb: panel-tpo-td043mtea1: 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. Signed-off-by: Dmitry Torokhov Signed-off-by: Helge Deller --- .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 59 ++++++---------------- 1 file changed, 16 insertions(+), 43 deletions(-) (limited to 'drivers/video') diff --git a/drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c b/drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c index c0e4e0315b6b..1eaa35c27835 100644 --- a/drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c +++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c @@ -10,10 +10,9 @@ #include #include #include -#include +#include #include #include -#include #include