diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-09-13 15:05:26 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-17 20:55:24 +0300 |
commit | f13a0b0bb46f07e5c154ae7944202d754007d362 (patch) | |
tree | e08b434deaf4d9b1e0debfe7e7824005bf63e0aa /drivers/gpio/gpiolib-acpi.c | |
parent | 66dbe750a96fe10c7270593cbffeb4701cfcd180 (diff) | |
download | linux-f13a0b0bb46f07e5c154ae7944202d754007d362.tar.xz |
gpio: Get rid of legacy header
A bunch of core gpiolib files still include the <linux/gpio.h>
legacy API header for no good reason. After this only the
gpiolib-legacy.c file includes it, which is fine.
The sysfs ABI code has a pointless wrapper function around
gpio_to_desc() we can just loose.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-acpi.c')
-rw-r--r-- | drivers/gpio/gpiolib-acpi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c index c48ed9d89ff5..79271e08eea5 100644 --- a/drivers/gpio/gpiolib-acpi.c +++ b/drivers/gpio/gpiolib-acpi.c @@ -11,7 +11,6 @@ */ #include <linux/errno.h> -#include <linux/gpio.h> #include <linux/gpio/consumer.h> #include <linux/gpio/driver.h> #include <linux/gpio/machine.h> |