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

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

index 5e2ffab42e5630318a5bfaa373d36d3538f9a498..03ecde8f9eca8f9394afce65fe15484ff19dadb8 100644 (file)
@@ -859,31 +859,31 @@ void BBvCalculateParameter(struct vnt_private *priv, u32 frame_length,
  *
  * Parameters:
  *  In:
- *      pDevice          - Device Structure
- *      byAntennaMode    - Antenna Mode
+ *     priv            - Device Structure
+ *     antenna_mode    - Antenna Mode
  *  Out:
  *      none
  *
  * Return Value: none
  *
  */
-void BBvSetAntennaMode(struct vnt_private *pDevice, u8 byAntennaMode)
+void BBvSetAntennaMode(struct vnt_private *priv, u8 antenna_mode)
 {
-       switch (byAntennaMode) {
+       switch (antenna_mode) {
        case ANT_TXA:
        case ANT_TXB:
                break;
        case ANT_RXA:
-               pDevice->byBBRxConf &= 0xFC;
+               priv->byBBRxConf &= 0xFC;
                break;
        case ANT_RXB:
-               pDevice->byBBRxConf &= 0xFE;
-               pDevice->byBBRxConf |= 0x02;
+               priv->byBBRxConf &= 0xFE;
+               priv->byBBRxConf |= 0x02;
                break;
        }
 
-       CONTROLnsRequestOut(pDevice, MESSAGE_TYPE_SET_ANTMD,
-               (u16)byAntennaMode, 0, 0, NULL);
+       CONTROLnsRequestOut(priv, MESSAGE_TYPE_SET_ANTMD,
+               (u16)antenna_mode, 0, 0, NULL);
 }
 
 /*