iio: itg3200: Drop GPIO include
diff mbox series

Message ID 20191202082603.63227-1-linus.walleij@linaro.org
State New
Headers show
Series
  • iio: itg3200: Drop GPIO include
Related show

Commit Message

Linus Walleij Dec. 2, 2019, 8:26 a.m. UTC
The driver include <linux/gpio.h> yet does not use any
of the symbols from the header, so drop the include.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/iio/gyro/itg3200_core.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jonathan Cameron Dec. 7, 2019, 9:44 a.m. UTC | #1
On Mon,  2 Dec 2019 09:26:03 +0100
Linus Walleij <linus.walleij@linaro.org> wrote:

> The driver include <linux/gpio.h> yet does not use any
> of the symbols from the header, so drop the include.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Applied,
> ---
>  drivers/iio/gyro/itg3200_core.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c
> index 981ae2291505..b3afa556f973 100644
> --- a/drivers/iio/gyro/itg3200_core.c
> +++ b/drivers/iio/gyro/itg3200_core.c
> @@ -15,7 +15,6 @@
>  #include <linux/interrupt.h>
>  #include <linux/irq.h>
>  #include <linux/i2c.h>
> -#include <linux/gpio.h>
>  #include <linux/slab.h>
>  #include <linux/stat.h>
>  #include <linux/module.h>

Patch
diff mbox series

diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c
index 981ae2291505..b3afa556f973 100644
--- a/drivers/iio/gyro/itg3200_core.c
+++ b/drivers/iio/gyro/itg3200_core.c
@@ -15,7 +15,6 @@ 
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
 #include <linux/slab.h>
 #include <linux/stat.h>
 #include <linux/module.h>