[PATCH] backlight: ams369fg06: Drop GPIO include

Linus Walleij linus.walleij at linaro.org
Mon Dec 2 10:30:05 UTC 2019


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 at 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



More information about the dri-devel mailing list