linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-iio@vger.kernel.org, Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Subject: Re: [PATCH] iio: st: Drop GPIO include
Date: Sun, 27 Oct 2019 15:56:00 +0000	[thread overview]
Message-ID: <20191027155600.6869be8a@archlinux> (raw)
In-Reply-To: <20191023084702.22969-1-linus.walleij@linaro.org>

On Wed, 23 Oct 2019 10:47:02 +0200
Linus Walleij <linus.walleij@linaro.org> wrote:

> 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>
Applied.

Thanks,

Jonathan

> ---
>  drivers/iio/accel/st_accel_core.c       | 1 -
>  drivers/iio/gyro/st_gyro_core.c         | 1 -
>  drivers/iio/magnetometer/st_magn_core.c | 1 -
>  drivers/iio/pressure/st_pressure_core.c | 1 -
>  4 files changed, 4 deletions(-)
> 
> diff --git a/drivers/iio/accel/st_accel_core.c b/drivers/iio/accel/st_accel_core.c
> index 2e37f8a6d8cf..7b837641f166 100644
> --- a/drivers/iio/accel/st_accel_core.c
> +++ b/drivers/iio/accel/st_accel_core.c
> @@ -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>
> diff --git a/drivers/iio/gyro/st_gyro_core.c b/drivers/iio/gyro/st_gyro_core.c
> index c0acbb5d2ffb..57be68b291fa 100644
> --- a/drivers/iio/gyro/st_gyro_core.c
> +++ b/drivers/iio/gyro/st_gyro_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>
> 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>
> diff --git a/drivers/iio/pressure/st_pressure_core.c b/drivers/iio/pressure/st_pressure_core.c
> index ca6863b32a5f..bd972cec4830 100644
> --- a/drivers/iio/pressure/st_pressure_core.c
> +++ b/drivers/iio/pressure/st_pressure_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>


      reply	other threads:[~2019-10-27 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23  8:47 [PATCH] iio: st: Drop GPIO include Linus Walleij
2019-10-27 15:56 ` Jonathan Cameron [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191027155600.6869be8a@archlinux \
    --to=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).