usb: gadget: renesas_usbhs: modify function name of usbhs_set_device_xx()
it was device configuration setting function, not only speed.
This patch modify function name usbhs_set_device_speed() -> usbhs_set_device_config()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c
index 0b88e88..7fa460e 100644
--- a/drivers/usb/renesas_usbhs/mod_host.c
+++ b/drivers/usb/renesas_usbhs/mod_host.c
@@ -317,7 +317,7 @@
udev->usbv = usbv;
/* set device config */
- usbhs_set_device_speed(priv,
+ usbhs_set_device_config(priv,
usbhsh_device_number(hpriv, udev),
usbhsh_device_number(hpriv, udev),
0, /* FIXME no parent */
@@ -433,7 +433,7 @@
/*
* usbhs_pipe_config_update() should be called after
- * usbhs_device_config()
+ * usbhs_set_device_config()
* see
* DCPMAXP/PIPEMAXP
*/