Linus Walleij 2644f912b4 backlight: pwm_bl: Switch to full GPIO descriptor
The PWM backlight still supports passing a enable GPIO line as
platform data using the legacy <linux/gpio.h> API.

It turns out that ever board using this mechanism except one
is pass .enable_gpio = -1. So we drop all these cargo-culted -1's
from all instances of this platform data in the kernel.

The remaning board, Palm TC, is converted to pass a machine
descriptior table with the "enable" GPIO instead, and delete the
platform data entry for enable_gpio and the code handling it
and things should work smoothly with the new API.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2020-03-18 15:05:57 +00:00
..
2020-02-08 14:17:27 -08:00
2019-09-03 22:09:46 +02:00
2020-02-08 14:15:41 -08:00
2020-01-27 19:59:28 +01:00
2019-10-22 17:37:29 +01:00
2019-09-30 10:04:28 -07:00
2020-02-08 13:55:25 -08:00
2020-02-08 14:17:27 -08:00
2020-02-08 13:55:25 -08:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2020-02-08 14:17:27 -08:00
2019-06-17 05:14:24 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2020-02-04 13:12:19 +00:00
2020-01-29 19:38:34 -08:00
2019-11-28 11:16:43 -08:00
2020-02-04 13:12:19 +00:00
2019-09-22 09:39:09 -07:00