diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-01-26 01:13:37 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-26 11:52:01 +0300 |
commit | 4fe160d51e4226a80f81b3d9b5193e0b8d2ebcbd (patch) | |
tree | 1ab6ea1703bdcfbe5b9fabdb5f83c36f1745a8f1 /drivers/usb/dwc2/platform.c | |
parent | 348becdcc3196addbe882e8a10451744e489e389 (diff) | |
download | linux-4fe160d51e4226a80f81b3d9b5193e0b8d2ebcbd.tar.xz |
usb: dwc2: eliminate irq parameter from dwc2_hcd_init
The irq is available in hsotg already, so there's no need to
pass it as separate function parameter.
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
-rw-r--r-- | drivers/usb/dwc2/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 3f59a73de248..9564bc76c56f 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c @@ -445,7 +445,7 @@ static int dwc2_driver_probe(struct platform_device *dev) } if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { - retval = dwc2_hcd_init(hsotg, hsotg->irq); + retval = dwc2_hcd_init(hsotg); if (retval) { if (hsotg->gadget_enabled) dwc2_hsotg_remove(hsotg); |