summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-07-03 16:04:51 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-06 13:33:01 +0300
commit21d9526d13b5467b0a6532e5a8b0eb04c01ce326 (patch)
treec41efb292a4ae6eacf0f9fd655b18ea63e890663
parent3b541b890ebe5c2914e0e0a2f0905b167afb3b75 (diff)
downloadlinux-21d9526d13b5467b0a6532e5a8b0eb04c01ce326.tar.xz
gpiolib: Make the legacy <linux/gpio.h> consumer-only
The legacy <linux/gpio.h> header was an all-inclusive header used by drivers and consumers alike. After eliminating the last users of the driver defines, we can drop the inclusion of the <linux/gpio/driver.h> header. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--include/asm-generic/gpio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 22cb8c9efc1d..1c910d124423 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -8,7 +8,6 @@
#ifdef CONFIG_GPIOLIB
#include <linux/compiler.h>
-#include <linux/gpio/driver.h>
#include <linux/gpio/consumer.h>
/*