[PATCH] drm/bridge: analogix-anx78xx: Drop of_gpio.h include
Andrzej Hajda
a.hajda at samsung.com
Thu Jun 13 13:12:38 UTC 2019
On 10.06.2019 00:32, Linus Walleij wrote:
> 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 at collabora.com>
> Cc: Jose Abreu <Jose.Abreu at synopsys.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Reviewed-by: Andrzej Hajda <a.hajda at samsung.com>
I will queue it soon to drm-misc-next.
--
Regards
Andrzej
> ---
> drivers/gpu/drm/bridge/analogix-anx78xx.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix-anx78xx.c
> index c09aaf93ae1b..61b5122e5a52 100644
> --- a/drivers/gpu/drm/bridge/analogix-anx78xx.c
> +++ b/drivers/gpu/drm/bridge/analogix-anx78xx.c
> @@ -20,7 +20,6 @@
> #include <linux/i2c.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>
More information about the dri-devel
mailing list