diff mbox series

usb: ehci-omap: Drop surplus include

Message ID 20200703131059.515436-1-linus.walleij@linaro.org (mailing list archive)
State Mainlined
Commit acf916c2aae81f7f009c5a53ce7fb54ec41e4c10
Headers show
Series usb: ehci-omap: Drop surplus include | expand

Commit Message

Linus Walleij July 3, 2020, 1:10 p.m. UTC
The EHCI OMAP driver includes <linux/gpio.h> but does not use
any symbols from this file, so drop it.

Cc: Roger Quadros <rogerq@ti.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/usb/host/ehci-omap.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Peter Ujfalusi July 3, 2020, 1:18 p.m. UTC | #1
Hi Linus,

On 03/07/2020 16.10, Linus Walleij wrote:
> The EHCI OMAP driver includes <linux/gpio.h> but does not use
> any symbols from this file, so drop it.

Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

> Cc: Roger Quadros <rogerq@ti.com>
> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/usb/host/ehci-omap.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
> index fc125b3d06e7..94b4b3ea49c8 100644
> --- a/drivers/usb/host/ehci-omap.c
> +++ b/drivers/usb/host/ehci-omap.c
> @@ -24,7 +24,6 @@
>  #include <linux/slab.h>
>  #include <linux/usb/ulpi.h>
>  #include <linux/pm_runtime.h>
> -#include <linux/gpio.h>
>  #include <linux/clk.h>
>  #include <linux/usb.h>
>  #include <linux/usb/hcd.h>
> 

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
diff mbox series

Patch

diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index fc125b3d06e7..94b4b3ea49c8 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -24,7 +24,6 @@ 
 #include <linux/slab.h>
 #include <linux/usb/ulpi.h>
 #include <linux/pm_runtime.h>
-#include <linux/gpio.h>
 #include <linux/clk.h>
 #include <linux/usb.h>
 #include <linux/usb/hcd.h>