usb: gadget: renesas_usbhs: modify function name of usbhs_set_device_xx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 31 Oct 2011 07:47:13 +0000 (00:47 -0700)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:45:02 +0000 (11:45 +0200)
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>
drivers/usb/renesas_usbhs/common.c
drivers/usb/renesas_usbhs/common.h
drivers/usb/renesas_usbhs/mod_host.c

index 0fea6b63ccceac6efd76b0fdf5083c0bc5b1b4b8..016a34f58523db6e3b1cd294d2e56c31661562c9 100644 (file)
@@ -219,7 +219,7 @@ static void usbhsc_bus_init(struct usbhs_priv *priv)
 /*
  *             device configuration
  */
-int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum,
+int usbhs_set_device_config(struct usbhs_priv *priv, int devnum,
                           u16 upphub, u16 hubport, u16 speed)
 {
        struct device *dev = usbhs_priv_to_dev(priv);
index e255015072a6c2661b47ebaedf0648511931d263..71c295c76d9e5af57b20ab5f5c0175fdcdb350c5 100644 (file)
@@ -306,7 +306,7 @@ int usbhs_frame_get_num(struct usbhs_priv *priv);
 /*
  * device config
  */
-int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum, u16 upphub,
+int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, u16 upphub,
                           u16 hubport, u16 speed);
 
 /*
index 0b88e88c5ee6a014aa2694320005085d0444ed72..7fa460e2a8c010e7508eeb53d3b50caa74597715 100644 (file)
@@ -317,7 +317,7 @@ usbhsh_device_find:
        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 @@ usbhsh_endpoint_alloc_find_pipe:
 
        /*
         * usbhs_pipe_config_update() should be called after
-        * usbhs_device_config()
+        * usbhs_set_device_config()
         * see
         *  DCPMAXP/PIPEMAXP
         */