]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/pwm_backlight.h
Merge tag 'for-linville-20140717' of git://github.com/kvalo/ath
[mirror_ubuntu-bionic-kernel.git] / include / linux / pwm_backlight.h
index 2de2e275b2cbd1390ec6693d8f436b05352da16a..efdd9227a49c9c9e77e7b74fff7e891df27935b7 100644 (file)
@@ -6,9 +6,6 @@
 
 #include <linux/backlight.h>
 
-/* TODO: convert to gpiod_*() API once it has been merged */
-#define PWM_BACKLIGHT_GPIO_ACTIVE_LOW  (1 << 0)
-
 struct platform_pwm_backlight_data {
        int pwm_id;
        unsigned int max_brightness;
@@ -16,8 +13,8 @@ struct platform_pwm_backlight_data {
        unsigned int lth_brightness;
        unsigned int pwm_period_ns;
        unsigned int *levels;
+       /* TODO remove once all users are switched to gpiod_* API */
        int enable_gpio;
-       unsigned long enable_gpio_flags;
        int (*init)(struct device *dev);
        int (*notify)(struct device *dev, int brightness);
        void (*notify_after)(struct device *dev, int brightness);