diff options
author | Vardan Mikayelyan <mvardan@synopsys.com> | 2017-12-25 14:17:45 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-08 16:12:01 +0300 |
commit | f3768997013e1c7d625ca427150644f80eb5900e (patch) | |
tree | a42f329bff5bec9bdb79a5999024e9a9be92bbba /drivers/usb/dwc2/platform.c | |
parent | 13431c60705f385b7f1c7bb749a93b84cf55c83f (diff) | |
download | linux-f3768997013e1c7d625ca427150644f80eb5900e.tar.xz |
usb: dwc2: eliminate irq parameter from dwc2_gadget_init
The irq is available in hsotg already, so there's no need to pass it as
separate function parameter.
Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.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 4703478f702f..9f39b15e7605 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c @@ -439,7 +439,7 @@ static int dwc2_driver_probe(struct platform_device *dev) goto error; if (hsotg->dr_mode != USB_DR_MODE_HOST) { - retval = dwc2_gadget_init(hsotg, hsotg->irq); + retval = dwc2_gadget_init(hsotg); if (retval) goto error; hsotg->gadget_enabled = 1; |