backlight: l4f00242t03: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Apr 2020 12:14:49 +0000 (14:14 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 29 Apr 2020 07:52:15 +0000 (08:52 +0100)
commit61365ca7b24f1cb106a4c619c94610862bbec778
treeaf7e716c21134a5d0af982b035a9db08503d5623
parentd8207c155a7c6015eb7f43739baa7dfb1fa638af
backlight: l4f00242t03: Convert to GPIO descriptors

This converts the l4f00242t03 backlight driver to use GPIO
descriptors and switches the two Freescale i.MX boards over
to passing descriptors instead of global GPIO numbers.

We use the typical names "enable" and "reset" as found in
the device tree bindings for panel GPIOs.

This saves a lot of code in the driver and makes it possible
to get rid of the platform data header altogether.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-imx/mach-mx27_3ds.c
arch/arm/mach-imx/mach-mx31_3ds.c
drivers/video/backlight/l4f00242t03.c
include/linux/spi/l4f00242t03.h [deleted file]