* [PATCH] iio: itg3200: Drop GPIO include
@ 2019-12-02 8:26 Linus Walleij
2019-12-07 9:44 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2019-12-02 8:26 UTC (permalink / raw)
To: Jonathan Cameron, linux-iio
Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
Linus Walleij
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(-)
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>
--
2.23.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: itg3200: Drop GPIO include
2019-12-02 8:26 [PATCH] iio: itg3200: Drop GPIO include Linus Walleij
@ 2019-12-07 9:44 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2019-12-07 9:44 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-iio, Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-07 9:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 8:26 [PATCH] iio: itg3200: Drop GPIO include Linus Walleij
2019-12-07 9:44 ` Jonathan Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.