staging:rtl8192u: Rename TClass > t_class - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Mon, 16 Jul 2018 19:04:52 +0000 (20:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:55:57 +0000 (08:55 +0200)
Rename the struct TS_COMMON_INFO member variable from TClass to t_class. This
change clears the checkpatch issue with CamelCase Variable names. 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 4c1b2e27cf94f6d631b5e42e495865da4b8493a5..3bf48a04a68e4ebada8e505c81646e8ffb626331 100644 (file)
@@ -21,7 +21,7 @@ struct ts_common_info {
        struct timer_list               inact_timer;
        u8                              addr[6];
        TSPEC_BODY                      t_spec;
-       QOS_TCLAS                       TClass[TCLAS_NUM];
+       QOS_TCLAS                       t_class[TCLAS_NUM];
        u8                              TClasProc;
        u8                              TClasNum;
 };
index f9f4196f43fa69ddeaf607e77251dbff966ad3bc..b5fede650b81542308838fa4494adfe844f5fef1 100644 (file)
@@ -105,7 +105,7 @@ static void ResetTsCommonInfo(struct ts_common_info *pTsCommonInfo)
 {
        eth_zero_addr(pTsCommonInfo->addr);
        memset(&pTsCommonInfo->t_spec, 0, sizeof(TSPEC_BODY));
-       memset(&pTsCommonInfo->TClass, 0, sizeof(QOS_TCLAS)*TCLAS_NUM);
+       memset(&pTsCommonInfo->t_class, 0, sizeof(QOS_TCLAS)*TCLAS_NUM);
        pTsCommonInfo->TClasProc = 0;
        pTsCommonInfo->TClasNum = 0;
 }
@@ -279,7 +279,7 @@ static void MakeTSEntry(struct ts_common_info *pTsCommonInfo, u8 *Addr,
                memcpy((u8 *)(&(pTsCommonInfo->t_spec)), (u8 *)pTSPEC, sizeof(TSPEC_BODY));
 
        for(count = 0; count < TCLAS_Num; count++)
-               memcpy((u8 *)(&(pTsCommonInfo->TClass[count])), (u8 *)pTCLAS, sizeof(QOS_TCLAS));
+               memcpy((u8 *)(&(pTsCommonInfo->t_class[count])), (u8 *)pTCLAS, sizeof(QOS_TCLAS));
 
        pTsCommonInfo->TClasProc = TCLAS_Proc;
        pTsCommonInfo->TClasNum = TCLAS_Num;