linux-iio.vger.kernel.org archive mirror
 help / color / mirror / 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 related	[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, other threads:[~2019-12-07  9:47 UTC | newest]

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

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