summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-05-17 12:50:21 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-18 20:58:28 +0400
commit0f06a73949f97b7043fd5cbe2768617637666b84 (patch)
treef6a5ce6691b46e6fecf7b074b05234ad6a2dfb2c
parent8a6602614a470a9a12bee60773bbee8c882a6b38 (diff)
downloadlinux-0f06a73949f97b7043fd5cbe2768617637666b84.tar.xz
staging: vt6656: PIPEnsControlOut remove camel case.
Camel case changes pDevice, byRequest, wValue, wIndex, wLength, pbyBuffer, ntStatus -> priv, request, value, index, length, buffer, status Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vt6656/usbpipe.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
index 5a4666533e9c..76fa19e5bcd9 100644
--- a/drivers/staging/vt6656/usbpipe.c
+++ b/drivers/staging/vt6656/usbpipe.c
@@ -61,23 +61,23 @@ static void s_nsInterruptUsbIoCompleteRead(struct urb *urb);
static void s_nsBulkInUsbIoCompleteRead(struct urb *urb);
static void s_nsBulkOutIoCompleteWrite(struct urb *urb);
-int PIPEnsControlOut(struct vnt_private *pDevice, u8 byRequest, u16 wValue,
- u16 wIndex, u16 wLength, u8 *pbyBuffer)
+int PIPEnsControlOut(struct vnt_private *priv, u8 request, u16 value,
+ u16 index, u16 length, u8 *buffer)
{
- int ntStatus = 0;
+ int status = 0;
- if (pDevice->Flags & fMP_DISCONNECTED)
+ if (priv->Flags & fMP_DISCONNECTED)
return STATUS_FAILURE;
- mutex_lock(&pDevice->usb_lock);
+ mutex_lock(&priv->usb_lock);
- ntStatus = usb_control_msg(pDevice->usb,
- usb_sndctrlpipe(pDevice->usb, 0), byRequest, 0x40, wValue,
- wIndex, pbyBuffer, wLength, USB_CTL_WAIT);
+ status = usb_control_msg(priv->usb,
+ usb_sndctrlpipe(priv->usb, 0), request, 0x40, value,
+ index, buffer, length, USB_CTL_WAIT);
- mutex_unlock(&pDevice->usb_lock);
+ mutex_unlock(&priv->usb_lock);
- if (ntStatus < (int)wLength)
+ if (status < (int)length)
return STATUS_FAILURE;
return STATUS_SUCCESS;