[PATCH v7 1/9] backlight: gpio: remove unneeded include

Bartosz Golaszewski brgl at bgdev.pl
Tue Oct 22 08:36:22 UTC 2019


From: Bartosz Golaszewski <bgolaszewski at baylibre.com>

We no longer use any symbols from of_gpio.h. Remove this include.

Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
---
 drivers/video/backlight/gpio_backlight.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/backlight/gpio_backlight.c b/drivers/video/backlight/gpio_backlight.c
index 18e053e4716c..7e1990199fae 100644
--- a/drivers/video/backlight/gpio_backlight.c
+++ b/drivers/video/backlight/gpio_backlight.c
@@ -12,7 +12,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/platform_data/gpio_backlight.h>
 #include <linux/platform_device.h>
 #include <linux/property.h>
-- 
2.23.0



More information about the dri-devel mailing list