staging: vt6656: CARDqGetNextTBTT remove camel case
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 24 May 2014 13:37:04 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 17:58:25 +0000 (10:58 -0700)
qwTSF -> tsf
wBeaconInterval -> beacon_interval
uBeaconInterval -> beacon_int

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

index bb06f59e37b73d46eed204f8ee62b8ee1f7ea424..3ed218a9a4722b17f1116ee85f99db47aed6d5e7 100644 (file)
@@ -657,30 +657,30 @@ bool CARDbClearCurrentTSF(struct vnt_private *priv)
  *
  * Parameters:
  *  In:
- *      qwTSF           - Current TSF counter
- *      wbeaconInterval - Beacon Interval
+ *      tsf            - Current TSF counter
+ *      beacon_interval - Beacon Interval
  *  Out:
- *      qwCurrTSF       - Current TSF counter
+ *      tsf            - Current TSF counter
  *
  * Return Value: TSF value of next Beacon
  *
  */
-u64 CARDqGetNextTBTT(u64 qwTSF, u16 wBeaconInterval)
+u64 CARDqGetNextTBTT(u64 tsf, u16 beacon_interval)
 {
-       u32 uBeaconInterval;
+       u32 beacon_int;
 
-       uBeaconInterval = wBeaconInterval * 1024;
+       beacon_int = beacon_interval * 1024;
 
        /* Next TBTT =
        *       ((local_current_TSF / beacon_interval) + 1) * beacon_interval
        */
-       if (uBeaconInterval) {
-               do_div(qwTSF, uBeaconInterval);
-               qwTSF += 1;
-               qwTSF *= uBeaconInterval;
+       if (beacon_int) {
+               do_div(tsf, beacon_int);
+               tsf += 1;
+               tsf *= beacon_int;
        }
 
-       return qwTSF;
+       return tsf;
 }
 
 /*