iio: si1145: Drop GPIO include
diff mbox series

Message ID 20191202082123.62350-1-linus.walleij@linaro.org
State New
Headers show
Series
  • iio: si1145: Drop GPIO include
Related show

Commit Message

Linus Walleij Dec. 2, 2019, 8:21 a.m. UTC
The driver include <linux/gpio.h> yet does not use any
of the symbols from the header, so drop the include.

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

Comments

Jonathan Cameron Dec. 6, 2019, 5:48 p.m. UTC | #1
On Mon,  2 Dec 2019 09:21:23 +0100
Linus Walleij <linus.walleij@linaro.org> wrote:

> The driver include <linux/gpio.h> yet does not use any
> of the symbols from the header, so drop the include.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Applied.

Thanks,

Jonathan

> ---
>  drivers/iio/light/si1145.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/light/si1145.c b/drivers/iio/light/si1145.c
> index 982bba0c54e7..0476c2bc8138 100644
> --- a/drivers/iio/light/si1145.c
> +++ b/drivers/iio/light/si1145.c
> @@ -17,7 +17,6 @@
>  #include <linux/slab.h>
>  #include <linux/delay.h>
>  #include <linux/irq.h>
> -#include <linux/gpio.h>
>  
>  #include <linux/iio/iio.h>
>  #include <linux/iio/sysfs.h>

Patch
diff mbox series

diff --git a/drivers/iio/light/si1145.c b/drivers/iio/light/si1145.c
index 982bba0c54e7..0476c2bc8138 100644
--- a/drivers/iio/light/si1145.c
+++ b/drivers/iio/light/si1145.c
@@ -17,7 +17,6 @@ 
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/irq.h>
-#include <linux/gpio.h>
 
 #include <linux/iio/iio.h>
 #include <linux/iio/sysfs.h>