]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: gpio_backlight: Delete pdata inversion
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 30 May 2017 11:48:22 +0000 (13:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 7 Aug 2017 16:11:28 +0000 (17:11 +0100)
commite46351a8e109865b417337e2a12b49703b6ff54e
treea3622ee9a4e84cc45fdc95eeda5e6905edb464fa
parent89ee560db4d81217f1f6c62bcd1f092f201db700
backlight: gpio_backlight: Delete pdata inversion

The option to invert the output of the GPIO (active low) is
not used by the only platform still using platform data to
set up a GPIO backlight (one SH board). Delete the option
as we do not expect to expand the use of board files for
this driver, and GPIO descriptors intrinsically keep track
of any signal inversion.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/gpio_backlight.c
include/linux/platform_data/gpio_backlight.h