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

From: Michal Simek
Date: Thu Feb 16 2023 - 04:09:19 EST




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@xxxxxxxxxxxxxxx>
---
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@xxxxxxx>

Thanks,
Michal