usb: ehci-omap: Drop surplus include

Message ID 20200703131059.515436-1-linus.walleij@linaro.org
State New
Headers show
Series
  • usb: ehci-omap: Drop surplus include
Related show

Commit Message

Linus Walleij July 3, 2020, 1:10 p.m.
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(-)

-- 
2.25.4

Comments

Peter Ujfalusi July 3, 2020, 1:18 p.m. | #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

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>