diff mbox series

backlight: lms501kf03: Drop unused include

Message ID 20200625232512.282178-1-linus.walleij@linaro.org
State Accepted
Commit f3528630e2e7b1556b0f150f1e205462c66efe8e
Headers show
Series backlight: lms501kf03: Drop unused include | expand

Commit Message

Linus Walleij June 25, 2020, 11:25 p.m. UTC
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@linaro.org>

---
 drivers/video/backlight/lms501kf03.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.25.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Comments

Daniel Thompson June 26, 2020, 9:44 a.m. UTC | #1
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@linaro.org>


Reviewed-by: Daniel Thompson <daniel.thompson@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

> 

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Lee Jones July 1, 2020, 9:42 a.m. UTC | #2
On Fri, 26 Jun 2020, 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@linaro.org>
> ---
>  drivers/video/backlight/lms501kf03.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.
diff mbox series

Patch

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>