iio: ad5592r: Drop surplus GPIO header
diff mbox series

Message ID 20191202085848.81573-1-linus.walleij@linaro.org
State New
Headers show
Series
  • iio: ad5592r: Drop surplus GPIO header
Related show

Commit Message

Linus Walleij Dec. 2, 2019, 8:58 a.m. UTC
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(-)

Comments

Alexandru Ardelean Dec. 2, 2019, 9:04 a.m. UTC | #1
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>
Jonathan Cameron Dec. 7, 2019, 9:47 a.m. UTC | #2
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>

Patch
diff mbox series

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>