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