staging; vt6656: swGetCCKControlRate remove camel case
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 25 May 2014 20:36:23 +0000 (21:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:13:58 +0000 (15:13 -0700)
camel case changes
pDevice -> priv
wRateIdx -> rate_idx

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

index f025010c96ebec4e6deef32a33df965b0473e2dd..c162ce4937a01fff880514f2fb2a086df821bd46 100644 (file)
@@ -123,20 +123,20 @@ void CARDbSetMediaChannel(struct vnt_private *priv, u32 connection_channel)
  *
  * Parameters:
  *  In:
- *      pDevice             - The adapter to be set
- *      wRateIdx            - Receiving data rate
+ *      priv           - The adapter to be set
+ *      rate_idx       - Receiving data rate
  *  Out:
  *      none
  *
  * Return Value: response Control frame rate
  *
  */
-static u16 swGetCCKControlRate(struct vnt_private *pDevice, u16 wRateIdx)
+static u16 swGetCCKControlRate(struct vnt_private *priv, u16 rate_idx)
 {
-       u16 ui = wRateIdx;
+       u16 ui = rate_idx;
 
        while (ui > RATE_1M) {
-               if (pDevice->wBasicRate & (1 << ui))
+               if (priv->wBasicRate & (1 << ui))
                        return ui;
                ui--;
        }