summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/platform.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-08-06 18:11:54 -0500
committerFelipe Balbi <balbi@ti.com>2015-09-27 10:54:31 -0500
commit1f91b4cc03556ba0d43ac80621dac8263cda3880 (patch)
tree93492018562be508549cd97f5398e05affbe906a /drivers/usb/dwc2/platform.c
parentdb2be4e9e30c6e43e48c5749d3fc74cee0a6bbb3 (diff)
downloadblackbird-op-linux-1f91b4cc03556ba0d43ac80621dac8263cda3880.tar.gz
blackbird-op-linux-1f91b4cc03556ba0d43ac80621dac8263cda3880.zip
usb: dwc2: rename all s3c_* to dwc2_*
this driver has long ago became dwc2.ko with both peripheral and host roles, there's no point in keeping the old function names. Acked-by: John Youn <johnyoun@synopsys.com> Tested-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
-rw-r--r--drivers/usb/dwc2/platform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index 90935304185a..3d1f82def2f3 100644
--- a/drivers/usb/dwc2/platform.c
+++ b/drivers/usb/dwc2/platform.c
@@ -130,7 +130,7 @@ static int dwc2_driver_remove(struct platform_device *dev)
if (hsotg->hcd_enabled)
dwc2_hcd_remove(hsotg);
if (hsotg->gadget_enabled)
- s3c_hsotg_remove(hsotg);
+ dwc2_hsotg_remove(hsotg);
return 0;
}
@@ -269,7 +269,7 @@ static int dwc2_driver_probe(struct platform_device *dev)
retval = dwc2_hcd_init(hsotg, irq);
if (retval) {
if (hsotg->gadget_enabled)
- s3c_hsotg_remove(hsotg);
+ dwc2_hsotg_remove(hsotg);
return retval;
}
hsotg->hcd_enabled = 1;
@@ -288,7 +288,7 @@ static int __maybe_unused dwc2_suspend(struct device *dev)
int ret = 0;
if (dwc2_is_device_mode(dwc2)) {
- ret = s3c_hsotg_suspend(dwc2);
+ ret = dwc2_hsotg_suspend(dwc2);
} else {
if (dwc2->lx_state == DWC2_L0)
return 0;
@@ -305,7 +305,7 @@ static int __maybe_unused dwc2_resume(struct device *dev)
int ret = 0;
if (dwc2_is_device_mode(dwc2)) {
- ret = s3c_hsotg_resume(dwc2);
+ ret = dwc2_hsotg_resume(dwc2);
} else {
phy_power_on(dwc2->phy);
phy_init(dwc2->phy);
OpenPOWER on IntegriCloud