- Switch to GPIO descriptor; pwm_bl, corgi_lcd
backlight: corgi: Convert to use GPIO descriptors
The code in the Corgi backlight driver can be considerably
simplified by moving to GPIO descriptors and lookup tables
from the board files instead of passing GPIO numbers using
the old API.
Make sure to encode inversion semantics for the Akita and
Spitz platforms inside the GPIO lookup table and drop the
custom inversion semantics from the driver.
All in-tree users are converted in this patch.
Signed-off-by: Linus Walleij <firstname.lastname@example.org>
Acked-by: Robert Jarzmik <email@example.com>
Reviewed-by: Daniel Thompson <firstname.lastname@example.org>
Signed-off-by: Lee Jones <email@example.com>
4 files changed