mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Linus Walleij](/assets/img/avatar_default.png)
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>
20 lines
445 B
C
20 lines
445 B
C
/*
|
|
* gpio_backlight.h - Simple GPIO-controlled backlight
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef __GPIO_BACKLIGHT_H__
|
|
#define __GPIO_BACKLIGHT_H__
|
|
|
|
struct device;
|
|
|
|
struct gpio_backlight_platform_data {
|
|
struct device *fbdev;
|
|
int gpio;
|
|
int def_value;
|
|
const char *name;
|
|
};
|
|
|
|
#endif
|