Re: [PATCH] iio: si1145: Drop GPIO include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon,  2 Dec 2019 09:21:23 +0100
Linus Walleij <linus.walleij@xxxxxxxxxx> 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@xxxxxxxxxx>
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>




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux