OSDN Git Service

staging:vt6656:card.c: fix camel case issue
authorRithvik Patibandla <rithvikp98@gmail.com>
Fri, 17 Jun 2016 03:56:47 +0000 (09:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 16:10:24 +0000 (18:10 +0200)
Fix "Avoid camel case" issue thrown by checkpatch.pl

Signed-off-by: Rithvik Patibandla <rithvikp98@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c

index a3fa6d8..53b469c 100644 (file)
 #include "key.h"
 #include "usbpipe.h"
 
-/* const u16 cwRXBCNTSFOff[MAX_RATE] =
+/* const u16 cw_rxbcntsf_off[MAX_RATE] =
  *   {17, 34, 96, 192, 34, 23, 17, 11, 8, 5, 4, 3};
  */
 
-static const u16 cwRXBCNTSFOff[MAX_RATE] = {
+static const u16 cw_rxbcntsf_off[MAX_RATE] = {
        192, 96, 34, 17, 34, 23, 17, 11, 8, 5, 4, 3
 };
 
@@ -504,7 +504,7 @@ u64 vnt_get_tsf_offset(u8 rx_rate, u64 tsf1, u64 tsf2)
        u64 tsf_offset = 0;
        u16 rx_bcn_offset;
 
-       rx_bcn_offset = cwRXBCNTSFOff[rx_rate % MAX_RATE];
+       rx_bcn_offset = cw_rxbcntsf_off[rx_rate % MAX_RATE];
 
        tsf2 += (u64)rx_bcn_offset;