summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-acpi.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-13 15:05:26 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-17 20:55:24 +0300
commitf13a0b0bb46f07e5c154ae7944202d754007d362 (patch)
treee08b434deaf4d9b1e0debfe7e7824005bf63e0aa /drivers/gpio/gpiolib-acpi.c
parent66dbe750a96fe10c7270593cbffeb4701cfcd180 (diff)
downloadlinux-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.c1
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>