Message ID | 20191202103005.102696-1-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | edeec4fdc78008185eff2c352d75f048959af1d6 |
Headers | show |
Series | backlight: ams369fg06: Drop GPIO include | expand |
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@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@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 >
On Mon, 02 Dec 2019, 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@linaro.org> > --- > drivers/video/backlight/ams369fg06.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks.
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>
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@linaro.org> --- drivers/video/backlight/ams369fg06.c | 1 - 1 file changed, 1 deletion(-)