Message ID | 20200625232512.282178-1-linus.walleij@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | backlight: lms501kf03: Drop unused include | expand |
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 >
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 --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>
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(-)