backlight: sky81452: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Jun 2020 20:37:41 +0000 (22:37 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 1 Jul 2020 09:39:32 +0000 (10:39 +0100)
commite1915eec54a6b4902664eaf6fb7a20de5624c4dd
tree7dde8901c4c9e63d2d4f4e4d13477a866d1d7006
parenta9b9b2af40c717adbc4981acd29c53b92be3a99a
backlight: sky81452: Convert to GPIO descriptors

The SKY81452 backlight driver just obtains a GPIO (named "gpios"
in the device tree) drives it high and leaves it high until the
driver is removed.

Switch to use GPIO descriptors for this, simple and
straight-forward.

Cc: Gyungoh Yoo <jack.yoo@skyworksinc.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/sky81452-backlight.c
include/linux/platform_data/sky81452-backlight.h