diff options
author | Johan Hovold <johan@kernel.org> | 2015-05-04 17:10:47 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-05-12 10:47:52 +0200 |
commit | 427fdeef5014c77aea7ca10c104d534786c3c1e0 (patch) | |
tree | dc7ac195615a9c7bd5b469bdb2fe522384fc2646 /drivers/gpio/gpiolib.h | |
parent | 2f323b85675d89c85e72bec191d42b72d905a652 (diff) | |
download | lwn-427fdeef5014c77aea7ca10c104d534786c3c1e0.tar.gz lwn-427fdeef5014c77aea7ca10c104d534786c3c1e0.zip |
gpio: sysfs: remove FLAG_SYSFS_DIR
Remove FLAG_SYSFS_DIR, which is sysfs-interface specific, and store it
in the class-device data instead.
Note that the flag is only used during export.
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib.h')
-rw-r--r-- | drivers/gpio/gpiolib.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index 5c4f27020564..479041f8d381 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -89,7 +89,6 @@ struct gpio_desc { #define FLAG_OPEN_DRAIN 7 /* Gpio is open drain type */ #define FLAG_OPEN_SOURCE 8 /* Gpio is open source type */ #define FLAG_USED_AS_IRQ 9 /* GPIO is connected to an IRQ */ -#define FLAG_SYSFS_DIR 10 /* show sysfs direction attribute */ #define FLAG_IS_HOGGED 11 /* GPIO is hogged */ #define GPIO_TRIGGER_MASK (BIT(FLAG_TRIG_FALL) | BIT(FLAG_TRIG_RISE)) |