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/core.h | |
parent | 334bbd4ebe1b34e1640118a5bfcd48f65d96242f (diff) | |
download | op-kernel-dev-0a7d0d7fa820e4281370795ef43c6aaa8b91a07e.zip op-kernel-dev-0a7d0d7fa820e4281370795ef43c6aaa8b91a07e.tar.gz |
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/core.h')
-rw-r--r-- | drivers/usb/dwc2/core.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index 8d26847..f282742 100644 --- a/drivers/usb/dwc2/core.h +++ b/drivers/usb/dwc2/core.h @@ -1252,8 +1252,6 @@ extern void dwc2_set_param_otg_ver(struct dwc2_hsotg *hsotg, int val); extern void dwc2_set_parameters(struct dwc2_hsotg *hsotg, const struct dwc2_core_params *params); -extern void dwc2_set_all_params(struct dwc2_core_params *params, int value); - extern int dwc2_get_hwparams(struct dwc2_hsotg *hsotg); extern int dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg); |