diff mbox series

iio: ad2s1200: Drop legacy include

Message ID 20191202082301.62599-1-linus.walleij@linaro.org (mailing list archive)
State New, archived
Headers show
Series iio: ad2s1200: Drop legacy include | expand

Commit Message

Linus Walleij Dec. 2, 2019, 8:23 a.m. UTC
This driver is using the GPIO descriptor API but yet includes
the legacy <linux/gpio.h> header for no reason. Drop the
surplus include.

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

Comments

Jonathan Cameron Dec. 7, 2019, 9:39 a.m. UTC | #1
On Mon,  2 Dec 2019 09:23:01 +0100
Linus Walleij <linus.walleij@linaro.org> wrote:

> This driver is using the GPIO descriptor API but yet includes
> the legacy <linux/gpio.h> header for no reason. Drop the
> surplus include.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to have fun.

THanks,

Jonathan

> ---
>  drivers/iio/resolver/ad2s1200.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/resolver/ad2s1200.c b/drivers/iio/resolver/ad2s1200.c
> index 17b89623418c..a391f46ee06b 100644
> --- a/drivers/iio/resolver/ad2s1200.c
> +++ b/drivers/iio/resolver/ad2s1200.c
> @@ -10,7 +10,6 @@
>  #include <linux/bitops.h>
>  #include <linux/delay.h>
>  #include <linux/device.h>
> -#include <linux/gpio.h>
>  #include <linux/gpio/consumer.h>
>  #include <linux/module.h>
>  #include <linux/mutex.h>
diff mbox series

Patch

diff --git a/drivers/iio/resolver/ad2s1200.c b/drivers/iio/resolver/ad2s1200.c
index 17b89623418c..a391f46ee06b 100644
--- a/drivers/iio/resolver/ad2s1200.c
+++ b/drivers/iio/resolver/ad2s1200.c
@@ -10,7 +10,6 @@ 
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/device.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/module.h>
 #include <linux/mutex.h>