]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
iio: apds9960: Drop GPIO includes
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Dec 2019 08:24:52 +0000 (09:24 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2019 11:42:15 +0000 (11:42 +0000)
The driver includes <linux/gpio.h> and <linux/of_gpio.h> yet
fails to use symbols from any of the include files, so drop
these includes.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/apds9960.c

index c5dfb9a6b5a1129091421441a0c9a8a22ef9c528..52f86bc777ddf65435de3dbf1edd8630a6db651e 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/mutex.h>
 #include <linux/err.h>
 #include <linux/irq.h>
-#include <linux/gpio.h>
 #include <linux/i2c.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>
@@ -24,7 +23,6 @@
 #include <linux/iio/events.h>
 #include <linux/iio/kfifo_buf.h>
 #include <linux/iio/sysfs.h>
-#include <linux/of_gpio.h>
 
 #define APDS9960_REGMAP_NAME   "apds9960_regmap"
 #define APDS9960_DRV_NAME      "apds9960"