* [PATCH] staging: rtl8723bs: rename CamelCase variables in function paramater
@ 2026-09-12 5:26 Isaac Aneek Sarker
0 siblings, 0 replies; only message in thread
From: Isaac Aneek Sarker @ 2026-09-12 5:26 UTC (permalink / raw)
Cc: alvasarker2004, Greg Kroah-Hartman, Ethan Tidmore, Jennifer Guo,
Luka Gejak, Prithvi Tambewagh, Moksh Panicker, Andrei Khomenkov,
Bera Yüzlü, Oskar Ray-Frayssinet, Nikolay Kulikov,
Akiyoshi Kurita, linux-staging, linux-kernel
As per the kernel style guidelines, and reported by checkpatch.pl
rename CamelCase variable naming in function parameters and also inside
the function
Signed-off-by: Isaac Aneek Sarker <alvasarker2004@gmail.com>
---
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index df0eaff4c841..3c3eb2790714 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -77,7 +77,7 @@ static void phy_StoreTxPowerByRateBase(struct adapter *padapter)
}
u8 PHY_GetRateSectionIndexOfTxPowerByRate(
- struct adapter *padapter, u32 RegAddr, u32 BitMask
+ struct adapter *padapter, u32 reg_addr, u32 bit_mask
)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
@@ -85,7 +85,7 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate(
u8 index = 0;
if (pDM_Odm->PhyRegPgVersion == 0) {
- switch (RegAddr) {
+ switch (reg_addr) {
case rTxAGC_A_Rate18_06:
index = 0;
break;
@@ -96,9 +96,9 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate(
index = 6;
break;
case rTxAGC_B_CCK11_A_CCK2_11:
- if (BitMask == bMaskH3Bytes)
+ if (bit_mask == bMaskH3Bytes)
index = 7;
- else if (BitMask == 0x000000ff)
+ else if (bit_mask == 0x000000ff)
index = 15;
break;
--
2.53.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 5:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 5:26 [PATCH] staging: rtl8723bs: rename CamelCase variables in function paramater Isaac Aneek Sarker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.