Commit 7544cd4c authored by Linus Walleij's avatar Linus Walleij Committed by Jonathan Cameron

iio: apds9960: Drop GPIO includes

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 340db461
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>
#include <linux/regmap.h> #include <linux/regmap.h>
...@@ -24,7 +23,6 @@ ...@@ -24,7 +23,6 @@
#include <linux/iio/events.h> #include <linux/iio/events.h>
#include <linux/iio/kfifo_buf.h> #include <linux/iio/kfifo_buf.h>
#include <linux/iio/sysfs.h> #include <linux/iio/sysfs.h>
#include <linux/of_gpio.h>
#define APDS9960_REGMAP_NAME "apds9960_regmap" #define APDS9960_REGMAP_NAME "apds9960_regmap"
#define APDS9960_DRV_NAME "apds9960" #define APDS9960_DRV_NAME "apds9960"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment