staging: vt6656: rf.c/h rename RFbSetPower to vnt_rf_setpower
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 27 May 2014 20:05:21 +0000 (21:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:10:46 +0000 (14:10 -0700)
Removing camel case

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

index b30a373153982af0aca69eaea977e245cf01faf8..c1e0a795c3984337bf9ca4359f957dc25f19a202 100644 (file)
@@ -734,7 +734,7 @@ int vnt_rf_write_embedded(struct vnt_private *priv, u32 data)
  * Return Value: true if succeeded; false if failed.
  *
  */
-int RFbSetPower(struct vnt_private *priv, u32 rate, u32 channel)
+int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel)
 {
        int ret = true;
        u8 power = priv->byCCKPwr;
index 70d5b82ad0c0dabb0bf406a58815fc5d57e2e781..e47b67d23f465c06dac74011dbd074ccadf0708e 100644 (file)
@@ -58,7 +58,7 @@
 extern const u8 RFaby11aChannelIndex[200];
 
 int vnt_rf_write_embedded(struct vnt_private *, u32);
-int RFbSetPower(struct vnt_private *, u32 uRATE, u32 uCH);
+int vnt_rf_setpower(struct vnt_private *, u32, u32);
 int RFbRawSetPower(struct vnt_private *, u8 byPwr, u32 uRATE);
 void RFvRSSITodBm(struct vnt_private *, u8 byCurrRSSI, long *pldBm);
 void RFbRFTableDownload(struct vnt_private *pDevice);
index f11c2d3b22c22ab13e5ec59c764d9b35152addb7..704f4d3639bea4b27cce2a353f9577f7c346d51f 100644 (file)
@@ -1386,9 +1386,9 @@ CMD_STATUS csMgmt_xmit(struct vnt_private *pDevice,
        }
 
        if (pMgmt->eScanState != WMAC_NO_SCANNING)
-               RFbSetPower(pDevice, wCurrentRate, pDevice->byCurrentCh);
+               vnt_rf_setpower(pDevice, wCurrentRate, pDevice->byCurrentCh);
        else
-               RFbSetPower(pDevice, wCurrentRate, pMgmt->uCurrChannel);
+               vnt_rf_setpower(pDevice, wCurrentRate, pMgmt->uCurrChannel);
 
        pDevice->wCurrentRate = wCurrentRate;
 
index 9a166fbcfa1f284276180d4f8257b8044b25690f..da72d4df6fcaf54512d584187bac9c873a54201e 100644 (file)
@@ -835,7 +835,8 @@ void vRunCommand(struct work_struct *work)
 
        case WLAN_CMD_SETPOWER_START:
 
-               RFbSetPower(pDevice, pDevice->wCurrentRate, pMgmt->uCurrChannel);
+               vnt_rf_setpower(pDevice, pDevice->wCurrentRate,
+                                                       pMgmt->uCurrChannel);
 
                break;