diff mbox series

[v1,1/1] usb: dwc3: xilinx: Remove unused of_gpio,h

Message ID 20230215165239.83806-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted
Commit e3eafcf0fabe67d0f854b238c0c247a4b0187e38
Headers show
Series [v1,1/1] usb: dwc3: xilinx: Remove unused of_gpio,h | expand

Commit Message

Andy Shevchenko Feb. 15, 2023, 4:52 p.m. UTC
of_gpio.h provides a single function, which is not used in this driver.
Remove unused header.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/usb/dwc3/dwc3-xilinx.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Michal Simek Feb. 16, 2023, 9:09 a.m. UTC | #1
On 2/15/23 17:52, Andy Shevchenko wrote:
> 
> 
> of_gpio.h provides a single function, which is not used in this driver.
> Remove unused header.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>   drivers/usb/dwc3/dwc3-xilinx.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/usb/dwc3/dwc3-xilinx.c b/drivers/usb/dwc3/dwc3-xilinx.c
> index 0745e9f11b2e..2c36f97652ca 100644
> --- a/drivers/usb/dwc3/dwc3-xilinx.c
> +++ b/drivers/usb/dwc3/dwc3-xilinx.c
> @@ -14,7 +14,6 @@
>   #include <linux/platform_device.h>
>   #include <linux/dma-mapping.h>
>   #include <linux/gpio/consumer.h>
> -#include <linux/of_gpio.h>
>   #include <linux/of_platform.h>
>   #include <linux/pm_runtime.h>
>   #include <linux/reset.h>
> --
> 2.39.1
> 

Reviewed-by: Michal Simek <michal.simek@amd.com>

Thanks,
Michal
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/dwc3-xilinx.c b/drivers/usb/dwc3/dwc3-xilinx.c
index 0745e9f11b2e..2c36f97652ca 100644
--- a/drivers/usb/dwc3/dwc3-xilinx.c
+++ b/drivers/usb/dwc3/dwc3-xilinx.c
@@ -14,7 +14,6 @@ 
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/gpio/consumer.h>
-#include <linux/of_gpio.h>
 #include <linux/of_platform.h>
 #include <linux/pm_runtime.h>
 #include <linux/reset.h>