public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ethan Tidmore <ethantidmore06@gmail.com>
To: gregkh@linuxfoundation.org
Cc: dan.carpenter@linaro.org, straube.linux@gmail.com,
	hansg@kernel.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Ethan Tidmore <ethantidmore06@gmail.com>
Subject: [PATCH v2 4/8] staging: rtl8723bs: rename RegPwrTblSel to reg_pwr_tbl_sel
Date: Mon, 26 Jan 2026 19:21:14 -0600	[thread overview]
Message-ID: <20260127012118.43037-5-ethantidmore06@gmail.com> (raw)
In-Reply-To: <20260127012118.43037-1-ethantidmore06@gmail.com>

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


  parent reply	other threads:[~2026-01-27  1:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-27  1:21 [PATCH v2 0/8] staging: rtl8723bs: rename members of struct registry_priv and remove dead code Ethan Tidmore
2026-01-27  1:21 ` [PATCH v2 1/8] staging: rtl8723bs: rename RegEnableTxPowerLimit to reg_enable_tx_power_limit Ethan Tidmore
2026-01-27  1:21 ` [PATCH v2 2/8] staging: rtl8723bs: rename RegEnableTxPowerByRate to reg_enable_tx_power_by_rate Ethan Tidmore
2026-01-27  1:21 ` [PATCH v2 3/8] staging: rtl8723bs: rename RegPowerBase to reg_power_base Ethan Tidmore
2026-01-27  1:21 ` Ethan Tidmore [this message]
2026-01-27  1:21 ` [PATCH v2 5/8] staging: rtl8723bs: remove unused variable TxBBSwing_2G Ethan Tidmore
2026-01-27  1:21 ` [PATCH v2 6/8] staging: rtl8723bs: remove unused variable AmplifierType_2G Ethan Tidmore
2026-01-27  1:21 ` [PATCH v2 7/8] staging: rtl8723bs: remove unused variable bEn_RFE Ethan Tidmore
2026-01-27  1:21 ` [PATCH v2 8/8] staging: rtl8723bs: remove unused variable RFE_Type Ethan Tidmore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260127012118.43037-5-ethantidmore06@gmail.com \
    --to=ethantidmore06@gmail.com \
    --cc=dan.carpenter@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=straube.linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox