dri-devel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] backlight: lms501kf03: Drop unused include
@ 2020-06-25 23:25 Linus Walleij
  2020-06-26  9:44 ` Daniel Thompson
  2020-07-01  9:42 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2020-06-25 23:25 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, dri-devel

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(-)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] backlight: lms501kf03: Drop unused include
  2020-06-25 23:25 [PATCH] backlight: lms501kf03: Drop unused include Linus Walleij
@ 2020-06-26  9:44 ` Daniel Thompson
  2020-07-01  9:42 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Thompson @ 2020-06-26  9:44 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Jingoo Han, Lee Jones, dri-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] backlight: lms501kf03: Drop unused include
  2020-06-25 23:25 [PATCH] backlight: lms501kf03: Drop unused include Linus Walleij
  2020-06-26  9:44 ` Daniel Thompson
@ 2020-07-01  9:42 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2020-07-01  9:42 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Jingoo Han, Daniel Thompson, dri-devel

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.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-25 23:25 [PATCH] backlight: lms501kf03: Drop unused include Linus Walleij
2020-06-26  9:44 ` Daniel Thompson
2020-07-01  9:42 ` Lee Jones

dri-devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dri-devel/0 dri-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dri-devel dri-devel/ https://lore.kernel.org/dri-devel \
		dri-devel@lists.freedesktop.org
	public-inbox-index dri-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.freedesktop.lists.dri-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git