Message ID | 20190609223254.8523-1-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | eb19e8479b96adb01ddb69fdc2010101f3f0ddf5 |
Headers | show |
Series | drm/bridge: analogix-anx78xx: Drop of_gpio.h include | expand |
Hi, On 10/6/19 0: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@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> > --- > 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> >
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@collabora.com> > Cc: Jose Abreu <Jose.Abreu@synopsys.com> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andrzej Hajda <a.hajda@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>
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>
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> --- drivers/gpu/drm/bridge/analogix-anx78xx.c | 1 - 1 file changed, 1 deletion(-)