On Fri, Dec 13, 2019 at 11:23:46AM +0100, Linus Walleij 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 <k...@kernel.org>
> Cc: Robert Jarzmik <robert.jarz...@free.fr>
> Cc: Guan Xuetao <g...@pku.edu.cn>
> Reviewed-by: Bartosz Golaszewski <bgolaszew...@baylibre.com>
> Signed-off-by: Linus Walleij <linus.wall...@linaro.org>

Reviewed-by: Daniel Thompson <daniel.thomp...@linaro.org>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to