summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-acpi.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-13 14:05:26 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-09-17 19:55:24 +0200
commitf13a0b0bb46f07e5c154ae7944202d754007d362 (patch)
treee08b434deaf4d9b1e0debfe7e7824005bf63e0aa /drivers/gpio/gpiolib-acpi.c
parentgpio: wm8xxx: Cut down on boilerplate (diff)
downloadlinux-f13a0b0bb46f07e5c154ae7944202d754007d362.tar.xz
linux-f13a0b0bb46f07e5c154ae7944202d754007d362.zip
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>