[PATCH v2 4/8] staging: rtl8723bs: rename RegPwrTblSel to reg_pwr_tbl_sel

Ethan Tidmore
2026-01-27T01:21:43Z

Rename RegPwrTblSel to reg_pwr_tbl_sel to avoid CamelCase.

Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
---
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 2 +-
drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 2 +-
drivers/staging/rtl8723bs/include/drv_types.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index 1a9a4bb15bd8..dc2da49e6738 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -696,7 +696,7 @@ s8 phy_get_tx_pwr_lmt(struct adapter *adapter, u32 reg_pwr_tbl_sel,
(adapter->registrypriv.reg_enable_tx_power_limit == 0))
return MAX_POWER_INDEX;

- switch (adapter->registrypriv.RegPwrTblSel) {
+ switch (adapter->registrypriv.reg_pwr_tbl_sel) {
case 1:
idx_regulation = TXPWR_LMT_ETSI;
break;
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
index 95ddb34850bc..6d5e531505f9 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
@@ -536,7 +536,7 @@ u8 PHY_GetTxPowerIndex(

limit = phy_get_tx_pwr_lmt(
padapter,
- padapter->registrypriv.RegPwrTblSel,
+ padapter->registrypriv.reg_pwr_tbl_sel,
pHalData->CurrentChannelBW,
RFPath,
Rate,
diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h
index e1efc14e86af..3557d7365585 100644
--- a/drivers/staging/rtl8723bs/include/drv_types.h
+++ b/drivers/staging/rtl8723bs/include/drv_types.h
@@ -159,7 +159,7 @@ struct registry_priv {
u8 reg_enable_tx_power_limit;
u8 reg_enable_tx_power_by_rate;
u8 reg_power_base;
- u8 RegPwrTblSel;
+ u8 reg_pwr_tbl_sel;
s8 TxBBSwing_2G;
u8 AmplifierType_2G;
u8 bEn_RFE;
--
2.52.0