OSDN Git Service

drm/bridge: analogix-anx78xx: Drop of_gpio.h include
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 9 Jun 2019 22:32:54 +0000 (00:32 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Thu, 13 Jun 2019 13:40:17 +0000 (15:40 +0200)
This include is only used for some gpio drivers and consumers
that look up GPIO numbers directly from the device tree.
This driver does not use it and only needs <linux/gpio/consumer.h>.
Delete the unused include.

Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190609223254.8523-1-linus.walleij@linaro.org
drivers/gpu/drm/bridge/analogix-anx78xx.c

index 479ce36..f341fb4 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/of_gpio.h>
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/regmap.h>