[PATCH] backlight: lms501kf03: Drop unused include

Daniel Thompson daniel.thompson at linaro.org
Fri Jun 26 09:44:27 UTC 2020


On Fri, Jun 26, 2020 at 01:25:12AM +0200, Linus Walleij wrote:
> This driver includes <linux/gpio.h> but does not use any
> symbols from that file, 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/lms501kf03.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/video/backlight/lms501kf03.c b/drivers/video/backlight/lms501kf03.c
> index 8ae32e3573c1..52d3ee6c3f7f 100644
> --- a/drivers/video/backlight/lms501kf03.c
> +++ b/drivers/video/backlight/lms501kf03.c
> @@ -9,7 +9,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.25.4
> 


More information about the dri-devel mailing list