Message ID | 20191202082603.63227-1-linus.walleij@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iio: itg3200: Drop GPIO include | expand |
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>
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>
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(-)