aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-05-30 13:48:22 +0200
committerLee Jones <lee.jones@linaro.org>2017-08-07 17:11:28 +0100
commit2606706e4d7b89ebf13f35895a7dfe00e394e782 (patch)
treea3622ee9a4e84cc45fdc95eeda5e6905edb464fa /include/linux/platform_data
parentbacklight: gpio_backlight: Convert to use GPIO descriptor (diff)
downloadlinux-dev-2606706e4d7b89ebf13f35895a7dfe00e394e782.tar.xz
linux-dev-2606706e4d7b89ebf13f35895a7dfe00e394e782.zip
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>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/gpio_backlight.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/gpio_backlight.h b/include/linux/platform_data/gpio_backlight.h
index 5ae0d9c80d4d..683d90453c41 100644
--- a/include/linux/platform_data/gpio_backlight.h
+++ b/include/linux/platform_data/gpio_backlight.h
@@ -14,7 +14,6 @@ struct gpio_backlight_platform_data {
struct device *fbdev;
int gpio;
int def_value;
- bool active_low;
const char *name;
};