summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-10-23 10:47:02 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-27 15:55:45 +0000
commit12737476e0992bde3e14e2df2fedf43a117abf71 (patch)
tree16d6e3d912b847e1f819c4061d67ad9a58f539b1 /drivers/iio/magnetometer
parent68d8ab3cf1a98e9d296221afdb6433715fd57535 (diff)
iio: st: Drop GPIO include
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>
Diffstat (limited to 'drivers/iio/magnetometer')
-rw-r--r--drivers/iio/magnetometer/st_magn_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/st_magn_core.c b/drivers/iio/magnetometer/st_magn_core.c
index a3a268ee2896..e68184a93a6d 100644
--- a/drivers/iio/magnetometer/st_magn_core.c
+++ b/drivers/iio/magnetometer/st_magn_core.c
@@ -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>