summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-05-31 22:55:43 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-06-10 10:08:34 +0200
commit9b4d4c952e28f97c5e653c8b9453690f7e63cc5a (patch)
tree0b8927d19b15aae711fef26fdf27ebe2642395e5 /include/linux
parent0e3b7b8759a7f3597e64fc12a8a017111edbf777 (diff)
gpio: Remove unused 'struct gpio' definition
There is no user for the legacy 'struct gpio', remove it for good. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250531195801.3632110-2-andriy.shevchenko@linux.intel.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gpio.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h
index 61e9f43c082a..8697ab817898 100644
--- a/include/linux/gpio.h
+++ b/include/linux/gpio.h
@@ -21,18 +21,6 @@ struct device;
#define GPIOF_OUT_INIT_LOW ((0 << 0) | (0 << 1))
#define GPIOF_OUT_INIT_HIGH ((0 << 0) | (1 << 1))
-/**
- * struct gpio - a structure describing a GPIO with configuration
- * @gpio: the GPIO number
- * @flags: GPIO configuration as specified by GPIOF_*
- * @label: a literal description string of this GPIO
- */
-struct gpio {
- unsigned gpio;
- unsigned long flags;
- const char *label;
-};
-
#ifdef CONFIG_GPIOLIB
#include <linux/gpio/consumer.h>