staging:rtl8192u: Rename TClasNum > t_clas_num - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Sat, 21 Jul 2018 19:25:44 +0000 (20:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:03:48 +0000 (14:03 +0200)
Rename the struct TS_COMMON_INFO member variable TClasNum to t_clas_num. This
change clears the checkpatch issue with CamelCase naming. There should be no
impact on runtime execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c

index a183198afb31ecb04d55b17485fa4e306167640a..3da1ef6ef1052c2cab6b24b41663b1b1209e6259 100644 (file)
@@ -23,7 +23,7 @@ struct ts_common_info {
        TSPEC_BODY                      t_spec;
        QOS_TCLAS                       t_class[TCLAS_NUM];
        u8                              t_clas_proc;
-       u8                              TClasNum;
+       u8                              t_clas_num;
 };
 
 typedef struct _TX_TS_RECORD {
index 8b2bb0a69b01f8f5b30d1ee6a0cd35d0cb77455c..4b2da7f311664a1de56a33f7b0e6b1575ae55a55 100644 (file)
@@ -107,7 +107,7 @@ static void ResetTsCommonInfo(struct ts_common_info *pTsCommonInfo)
        memset(&pTsCommonInfo->t_spec, 0, sizeof(TSPEC_BODY));
        memset(&pTsCommonInfo->t_class, 0, sizeof(QOS_TCLAS)*TCLAS_NUM);
        pTsCommonInfo->t_clas_proc = 0;
-       pTsCommonInfo->TClasNum = 0;
+       pTsCommonInfo->t_clas_num = 0;
 }
 
 static void ResetTxTsEntry(PTX_TS_RECORD pTS)
@@ -282,7 +282,7 @@ static void MakeTSEntry(struct ts_common_info *pTsCommonInfo, u8 *Addr,
                memcpy((u8 *)(&(pTsCommonInfo->t_class[count])), (u8 *)pTCLAS, sizeof(QOS_TCLAS));
 
        pTsCommonInfo->t_clas_proc = TCLAS_Proc;
-       pTsCommonInfo->TClasNum = TCLAS_Num;
+       pTsCommonInfo->t_clas_num = TCLAS_Num;
 }