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