staging: vt6656: BBvSetVGAGainOffset remove camel case
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 19 May 2014 19:33:06 +0000 (20:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 May 2014 22:23:22 +0000 (15:23 -0700)
pDevice -> priv
byData -> data

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

index e440823ea13b7e409e966d161cfc444a2d4d3c1a..466abd98f4a125c3a9a389e048a85743330d805c 100644 (file)
@@ -1102,18 +1102,18 @@ void BBvSetShortSlotTime(struct vnt_private *priv)
        ControlvWriteByte(priv, MESSAGE_REQUEST_BBREG, 0x0a, priv->byBBRxConf);
 }
 
-void BBvSetVGAGainOffset(struct vnt_private *pDevice, u8 byData)
+void BBvSetVGAGainOffset(struct vnt_private *priv, u8 data)
 {
 
-    ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xE7, byData);
+       ControlvWriteByte(priv, MESSAGE_REQUEST_BBREG, 0xE7, data);
 
-    // patch for 3253B0 Baseband with Cardbus module
-       if (pDevice->bShortSlotTime)
-               pDevice->byBBRxConf &= 0xDF; /* 1101 1111 */
+       /* patch for 3253B0 Baseband with Cardbus module */
+       if (priv->bShortSlotTime)
+               priv->byBBRxConf &= 0xdf; /* 1101 1111 */
        else
-               pDevice->byBBRxConf |= 0x20; /* 0010 0000 */
+               priv->byBBRxConf |= 0x20; /* 0010 0000 */
 
-    ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0x0A, pDevice->byBBRxConf);//CR10
+       ControlvWriteByte(priv, MESSAGE_REQUEST_BBREG, 0x0a, priv->byBBRxConf);
 }
 
 /*