usb: dwc2: Remove dwc2_set_all_params function
authorJohn Youn <johnyoun@synopsys.com>
Fri, 4 Nov 2016 00:55:57 +0000 (17:55 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:11 +0000 (13:54 +0200)
commit0a7d0d7fa820e4281370795ef43c6aaa8b91a07e
tree2c4f96feb8cf93e91ff772da848c3b24ac15aeb1
parent334bbd4ebe1b34e1640118a5bfcd48f65d96242f
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>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/params.c
drivers/usb/dwc2/platform.c