diff options
author | John Youn <johnyoun@synopsys.com> | 2016-11-03 17:55:57 -0700 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-11-18 13:54:11 +0200 |
commit | 0a7d0d7fa820e4281370795ef43c6aaa8b91a07e (patch) | |
tree | 2c4f96feb8cf93e91ff772da848c3b24ac15aeb1 /drivers/usb/dwc2/platform.c | |
parent | 334bbd4ebe1b34e1640118a5bfcd48f65d96242f (diff) | |
download | blackbird-op-linux-0a7d0d7fa820e4281370795ef43c6aaa8b91a07e.tar.gz blackbird-op-linux-0a7d0d7fa820e4281370795ef43c6aaa8b91a07e.zip |
usb: dwc2: Remove dwc2_set_all_params function
Replace this by statically defining a function with defaults, and just
assigning it. This will allow us to use parameters of any type and any
default value.
Signed-off-by: John Youn <johnyoun@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, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 4fbfe099b991..4fc8c603afb8 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c @@ -398,8 +398,6 @@ static int dwc2_driver_probe(struct platform_device *dev) spin_lock_init(&hsotg->lock); - dwc2_set_all_params(&hsotg->params, -1); - hsotg->irq = platform_get_irq(dev, 0); if (hsotg->irq < 0) { dev_err(&dev->dev, "missing IRQ resource\n"); |