fbdev: omapfb: panel-sony-acx565akm: switch to using gpiod API
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Nov 2022 03:16:32 +0000 (20:16 -0700)
committerHelge Deller <deller@gmx.de>
Wed, 14 Dec 2022 19:01:48 +0000 (20:01 +0100)
commit844c245fc49d21639ed9e00c4b3ac0f219b7c6ce
tree014e13a58d6579547f26ecb12fd24b2a1a2e5f6c
parent5845b32edc1ee1039d040716cf9d78bbd52e13c3
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 <dmitry.torokhov@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c