backlight: lms283gf05: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 18 Jan 2021 13:23:22 +0000 (14:23 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 20 Jan 2021 12:47:11 +0000 (12:47 +0000)
commit93cc26fa8f37fbd320f36525bfedd4b3e2b3e2ba
tree13a8cc5882f25b8d58a95ece29fbba4a25aafb89
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
backlight: lms283gf05: Convert to GPIO descriptors

This converts the lms283gf05 backlight driver to use GPIO
descriptors and switches the single PXA Palm Z2 device
over to defining these.

Since the platform data was only used to convey GPIO
information we can delete the platform data header.

Notice that we define the proper active low semantics in
the board file GPIO descriptor table (active low) and
assert the reset line by bringing it to "1" (asserted).

Cc: Marek Vasut <marex@denx.de>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Daniel Mack <daniel@zonque.org>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-pxa/z2.c
drivers/video/backlight/lms283gf05.c
include/linux/spi/lms283gf05.h [deleted file]