From: John Whitmore Date: Sat, 21 Jul 2018 19:25:43 +0000 (+0100) Subject: staging:rtl8192u: Rename TClasProc > t_clas_proc - Style X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cb72b2f6dfa954d5c18df69cf789190310a0c545;p=openwrt%2Fstaging%2Fblogic.git staging:rtl8192u: Rename TClasProc > t_clas_proc - Style Rename the struct TS_COMMON_INFO member variable TClasProc to t_clas_proc. This change clears the checkpatch issue with CamelCase variable names. There should be no impact on runtime execution. Signed-off-by: John Whitmore Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h index 3bf48a04a68e..a183198afb31 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h @@ -22,7 +22,7 @@ struct ts_common_info { u8 addr[6]; TSPEC_BODY t_spec; QOS_TCLAS t_class[TCLAS_NUM]; - u8 TClasProc; + u8 t_clas_proc; u8 TClasNum; }; diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c index b5fede650b81..8b2bb0a69b01 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c @@ -106,7 +106,7 @@ static void ResetTsCommonInfo(struct ts_common_info *pTsCommonInfo) eth_zero_addr(pTsCommonInfo->addr); memset(&pTsCommonInfo->t_spec, 0, sizeof(TSPEC_BODY)); memset(&pTsCommonInfo->t_class, 0, sizeof(QOS_TCLAS)*TCLAS_NUM); - pTsCommonInfo->TClasProc = 0; + pTsCommonInfo->t_clas_proc = 0; pTsCommonInfo->TClasNum = 0; } @@ -281,7 +281,7 @@ static void MakeTSEntry(struct ts_common_info *pTsCommonInfo, u8 *Addr, for(count = 0; count < TCLAS_Num; count++) memcpy((u8 *)(&(pTsCommonInfo->t_class[count])), (u8 *)pTCLAS, sizeof(QOS_TCLAS)); - pTsCommonInfo->TClasProc = TCLAS_Proc; + pTsCommonInfo->t_clas_proc = TCLAS_Proc; pTsCommonInfo->TClasNum = TCLAS_Num; }