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 |
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 --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>
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(-)