aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/gpio.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-05-30 01:14:46 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-06-01 09:52:39 +0200
commit9df8c63c2b814be8c40d44d21dabaf074058c98b (patch)
tree3ca0d6a05f46672d83ba4b7934ff5fc633376cf2 /include/linux/gpio.h
parentgpiolib: Kill unused GPIOF_EXPORT and Co (diff)
downloadwireguard-linux-9df8c63c2b814be8c40d44d21dabaf074058c98b.tar.xz
wireguard-linux-9df8c63c2b814be8c40d44d21dabaf074058c98b.zip
gpiolib: Kill unused GPIOF_OPEN_*
There is no use of the GPIOF_OPEN_* in the kernel. Kill it for good. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include/linux/gpio.h')
-rw-r--r--include/linux/gpio.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h
index 86963a00b018..88efac969754 100644
--- a/include/linux/gpio.h
+++ b/include/linux/gpio.h
@@ -32,12 +32,6 @@ struct device;
/* Gpio pin is active-low */
#define GPIOF_ACTIVE_LOW (1 << 2)
-/* Gpio pin is open drain */
-#define GPIOF_OPEN_DRAIN (1 << 3)
-
-/* Gpio pin is open source */
-#define GPIOF_OPEN_SOURCE (1 << 4)
-
/**
* struct gpio - a structure describing a GPIO with configuration
* @gpio: the GPIO number