OSDN Git Service

staging: vt6656: usb_device_reset remove camel case
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 18 Jul 2014 05:36:08 +0000 (06:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 23:06:23 +0000 (16:06 -0700)
Camel case change
pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c

index 6a46203..436523f 100644 (file)
@@ -438,13 +438,13 @@ static void device_free_rx_bufs(struct vnt_private *priv)
        return;
 }
 
-static void usb_device_reset(struct vnt_private *pDevice)
+static void usb_device_reset(struct vnt_private *priv)
 {
        int status;
 
-       status = usb_reset_device(pDevice->usb);
+       status = usb_reset_device(priv->usb);
        if (status)
-               dev_warn(&pDevice->usb->dev,
+               dev_warn(&priv->usb->dev,
                         "usb_device_reset fail status=%d\n", status);
        return ;
 }