Linux-IIO Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] iio: ad5592r: Drop surplus GPIO header
@ 2019-12-02  8:58 Linus Walleij
  2019-12-02  9:04 ` Ardelean, Alexandru
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2019-12-02  8:58 UTC (permalink / raw)
  To: Jonathan Cameron, linux-iio
  Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
	Linus Walleij

This driver uses all the modern GPIO APIs from
<linux/gpio/driver.h> and <linux/gpio/consumer.h> so
just drop the unused legacy header <linux/gpio.h>.

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

diff --git a/drivers/iio/dac/ad5592r-base.c b/drivers/iio/dac/ad5592r-base.c
index 2d897e64c6a9..e2110113e884 100644
--- a/drivers/iio/dac/ad5592r-base.c
+++ b/drivers/iio/dac/ad5592r-base.c
@@ -15,7 +15,6 @@
 #include <linux/regulator/consumer.h>
 #include <linux/gpio/consumer.h>
 #include <linux/gpio/driver.h>
-#include <linux/gpio.h>
 #include <linux/property.h>
 
 #include <dt-bindings/iio/adi,ad5592r.h>
-- 
2.23.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: ad5592r: Drop surplus GPIO header
  2019-12-02  8:58 [PATCH] iio: ad5592r: Drop surplus GPIO header Linus Walleij
@ 2019-12-02  9:04 ` Ardelean, Alexandru
  2019-12-07  9:47   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Ardelean, Alexandru @ 2019-12-02  9:04 UTC (permalink / raw)
  To: jic23, linux-iio, linus.walleij; +Cc: knaack.h, lars, pmeerw

On Mon, 2019-12-02 at 09:58 +0100, Linus Walleij wrote:
> This driver uses all the modern GPIO APIs from
> <linux/gpio/driver.h> and <linux/gpio/consumer.h> so
> just drop the unused legacy header <linux/gpio.h>.
> 

Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/iio/dac/ad5592r-base.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/dac/ad5592r-base.c b/drivers/iio/dac/ad5592r-
> base.c
> index 2d897e64c6a9..e2110113e884 100644
> --- a/drivers/iio/dac/ad5592r-base.c
> +++ b/drivers/iio/dac/ad5592r-base.c
> @@ -15,7 +15,6 @@
>  #include <linux/regulator/consumer.h>
>  #include <linux/gpio/consumer.h>
>  #include <linux/gpio/driver.h>
> -#include <linux/gpio.h>
>  #include <linux/property.h>
>  
>  #include <dt-bindings/iio/adi,ad5592r.h>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: ad5592r: Drop surplus GPIO header
  2019-12-02  9:04 ` Ardelean, Alexandru
@ 2019-12-07  9:47   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2019-12-07  9:47 UTC (permalink / raw)
  To: Ardelean, Alexandru; +Cc: linux-iio, linus.walleij, knaack.h, lars, pmeerw

On Mon, 2 Dec 2019 09:04:14 +0000
"Ardelean, Alexandru" <alexandru.Ardelean@analog.com> wrote:

> On Mon, 2019-12-02 at 09:58 +0100, Linus Walleij wrote:
> > This driver uses all the modern GPIO APIs from
> > <linux/gpio/driver.h> and <linux/gpio/consumer.h> so
> > just drop the unused legacy header <linux/gpio.h>.
> >   
> 
> Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
applied,

Thanks,

Jonathan

> 
> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> > ---
> >  drivers/iio/dac/ad5592r-base.c | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/iio/dac/ad5592r-base.c b/drivers/iio/dac/ad5592r-
> > base.c
> > index 2d897e64c6a9..e2110113e884 100644
> > --- a/drivers/iio/dac/ad5592r-base.c
> > +++ b/drivers/iio/dac/ad5592r-base.c
> > @@ -15,7 +15,6 @@
> >  #include <linux/regulator/consumer.h>
> >  #include <linux/gpio/consumer.h>
> >  #include <linux/gpio/driver.h>
> > -#include <linux/gpio.h>
> >  #include <linux/property.h>
> >  
> >  #include <dt-bindings/iio/adi,ad5592r.h>  


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02  8:58 [PATCH] iio: ad5592r: Drop surplus GPIO header Linus Walleij
2019-12-02  9:04 ` Ardelean, Alexandru
2019-12-07  9:47   ` Jonathan Cameron

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org
	public-inbox-index linux-iio

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git