aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorLinus Walleij2020-07-03 15:04:51 +0200
committerAndy Shevchenko2023-03-06 12:33:01 +0200
commit21d9526d13b5467b0a6532e5a8b0eb04c01ce326 (patch)
treec41efb292a4ae6eacf0f9fd655b18ea63e890663 /include/asm-generic
parent3b541b890ebe5c2914e0e0a2f0905b167afb3b75 (diff)
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>
Diffstat (limited to 'include/asm-generic')
-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>
/*