forked from luck/tmp_suning_uos_patched
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: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
340db461f9
commit
7544cd4c8a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user