[PATCH] backlight: ams369fg06: Drop GPIO include

Daniel Thompson daniel.thompson at linaro.org
Mon Dec 2 12:16:43 UTC 2019


On Mon, Dec 02, 2019 at 11:30:05AM +0100, Linus Walleij wrote:
> The driver includes <linux/gpio.h> yet fails to use symbols
> from any the header so drop the include.
> 
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>

> ---
>  drivers/video/backlight/ams369fg06.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c
> index 94ccb9042440..8a4361e95a11 100644
> --- a/drivers/video/backlight/ams369fg06.c
> +++ b/drivers/video/backlight/ams369fg06.c
> @@ -11,7 +11,6 @@
>  #include <linux/backlight.h>
>  #include <linux/delay.h>
>  #include <linux/fb.h>
> -#include <linux/gpio.h>
>  #include <linux/lcd.h>
>  #include <linux/module.h>
>  #include <linux/spi/spi.h>
> -- 
> 2.23.0
> 


More information about the dri-devel mailing list