[PATCH v3] backlight: pwm_bl: Switch to full GPIO descriptor
Krzysztof Kozlowski
krzk at kernel.org
Mon Feb 10 14:29:46 UTC 2020
On Mon, 10 Feb 2020 at 11:15, Linus Walleij <linus.walleij at linaro.org> wrote:
>
> 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.
>
> Cc: Krzysztof Kozlowski <krzk at kernel.org>
> Cc: Guan Xuetao <gxt at pku.edu.cn>
> Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>
> Reviewed-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> ChangeLog v2->v3:
> - Collect Robert's ACK.
You missed my ack:
For s3c:
Acked-by: Krzysztof Kozlowski <krzk at kernel.org>
Best regards,
Krzysztof
More information about the dri-devel
mailing list