iio: st: Drop GPIO include
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Oct 2019 08:47:02 +0000 (10:47 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 27 Oct 2019 15:55:45 +0000 (15:55 +0000)
None of the ST sensor drivers use any symbols from
<linux/gpio.h>, just drop the include from all of them.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/st_accel_core.c
drivers/iio/gyro/st_gyro_core.c
drivers/iio/magnetometer/st_magn_core.c
drivers/iio/pressure/st_pressure_core.c

index 2e37f8a6d8cfc71087e5ccdf6ca4876bd8add706..7b837641f166e6305e0cfd4c26dba6df2dd163cf 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/types.h>
 #include <linux/interrupt.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
 #include <linux/irq.h>
 #include <linux/iio/iio.h>
 #include <linux/iio/sysfs.h>
index c0acbb5d2ffb5c6b8a2235e5ca0ef4cca0105acd..57be68b291fa6340ed5159b4aae16454fed3eb27 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/types.h>
 #include <linux/interrupt.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
 #include <linux/irq.h>
 #include <linux/delay.h>
 #include <linux/iio/iio.h>
index a3a268ee2896084888ab03df7eb866db254003d9..e68184a93a6d5374b30b036004b3415609441411 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/types.h>
 #include <linux/interrupt.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
 #include <linux/irq.h>
 #include <linux/delay.h>
 #include <linux/iio/iio.h>
index ca6863b32a5fbe2b340fab4b8032aa1b456c8041..bd972cec48302719759017fdb9767b67b1f80388 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/types.h>
 #include <linux/interrupt.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
 #include <linux/irq.h>
 #include <linux/delay.h>
 #include <linux/iio/iio.h>