diff mbox series

drm/bridge: lt8912b: Drop unused includes

Message ID 20210529002759.468964-1-linus.walleij@linaro.org
State Accepted
Commit ef9e57cda5fb290258a060e4f3e712148bc5b421
Headers show
Series drm/bridge: lt8912b: Drop unused includes | expand

Commit Message

Linus Walleij May 29, 2021, 12:27 a.m. UTC
The Lontium bridge is including legacy header files for GPIO
but not using them. Delete the includes.

Cc: Adrien Grassein <adrien.grassein@gmail.com>
Cc: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.31.1

Comments

Adrien Grassein May 29, 2021, 9:10 p.m. UTC | #1
Reviewed-by: Adren Grassein <adrien.grassein@gmail.com>


Le sam. 29 mai 2021 à 02:30, Linus Walleij <linus.walleij@linaro.org> a écrit :
>

> The Lontium bridge is including legacy header files for GPIO

> but not using them. Delete the includes.

>

> Cc: Adrien Grassein <adrien.grassein@gmail.com>

> Cc: Robert Foss <robert.foss@linaro.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 --

>  1 file changed, 2 deletions(-)

>

> diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c

> index 443f1b47e031..4ff091ecd8b4 100644

> --- a/drivers/gpu/drm/bridge/lontium-lt8912b.c

> +++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c

> @@ -7,8 +7,6 @@

>  #include <linux/delay.h>

>  #include <linux/gpio/consumer.h>

>  #include <linux/i2c.h>

> -#include <linux/gpio.h>

> -#include <linux/of_gpio.h>

>  #include <linux/regmap.h>

>

>  #include <drm/drm_probe_helper.h>

> --

> 2.31.1

>
Robert Foss May 31, 2021, 10:47 a.m. UTC | #2
Pushed to drm-misc-next.

On Sat, 29 May 2021 at 23:10, Adrien Grassein <adrien.grassein@gmail.com> wrote:
>

> Reviewed-by: Adren Grassein <adrien.grassein@gmail.com>

>

> Le sam. 29 mai 2021 à 02:30, Linus Walleij <linus.walleij@linaro.org> a écrit :

> >

> > The Lontium bridge is including legacy header files for GPIO

> > but not using them. Delete the includes.

> >

> > Cc: Adrien Grassein <adrien.grassein@gmail.com>

> > Cc: Robert Foss <robert.foss@linaro.org>

> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> > ---

> >  drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 --

> >  1 file changed, 2 deletions(-)

> >

> > diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c

> > index 443f1b47e031..4ff091ecd8b4 100644

> > --- a/drivers/gpu/drm/bridge/lontium-lt8912b.c

> > +++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c

> > @@ -7,8 +7,6 @@

> >  #include <linux/delay.h>

> >  #include <linux/gpio/consumer.h>

> >  #include <linux/i2c.h>

> > -#include <linux/gpio.h>

> > -#include <linux/of_gpio.h>

> >  #include <linux/regmap.h>

> >

> >  #include <drm/drm_probe_helper.h>

> > --

> > 2.31.1

> >
diff mbox series

Patch

diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c
index 443f1b47e031..4ff091ecd8b4 100644
--- a/drivers/gpu/drm/bridge/lontium-lt8912b.c
+++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c
@@ -7,8 +7,6 @@ 
 #include <linux/delay.h>
 #include <linux/gpio/consumer.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
-#include <linux/of_gpio.h>
 #include <linux/regmap.h>
 
 #include <drm/drm_probe_helper.h>