Linux kernel staging patches
 help / color / mirror / Atom feed
From: Olivier Tanoh <olivier.tanoh19@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	Olivier Tanoh <olivier.tanoh19@gmail.com>
Subject: [PATCH v2 3/3] staging: rtl8723bs: rename Restore_DM_Func_Flag functions to avoid CamelCase
Date: Tue, 28 Jul 2026 14:36:33 +0200	[thread overview]
Message-ID: <20260728123633.79735-4-olivier.tanoh19@gmail.com> (raw)
In-Reply-To: <20260728123633.79735-1-olivier.tanoh19@gmail.com>

Rename Restore_DM_Func_Flag to snake_case
format to comply with the Linux kernel coding style.

Signed-off-by: Olivier Tanoh <olivier.tanoh19@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c    | 2 +-
 drivers/staging/rtl8723bs/core/rtw_wlan_util.c   | 2 +-
 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index ff5e5fae3ef2..f7b11d2a5abd 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -3812,7 +3812,7 @@ void site_survey(struct adapter *padapter)
 			initialgain = 0xff; /* restore RX GAIN */
 			rtw_hal_set_hwreg(padapter, HW_VAR_INITIAL_GAIN, (u8 *)(&initialgain));
 			/* turn on dynamic functions */
-			Restore_DM_Func_Flag(padapter);
+			restore_dm_func_flag(padapter);
 			/* switch_dm_func(padapter, DYNAMIC_ALL_FUNC_ENABLE, true); */
 
 			if (is_client_associated_to_ap(padapter))
diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
index c5d1bc77bfa0..065f8666f117 100644
--- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
+++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
@@ -227,7 +227,7 @@ void save_dm_func_flag(struct adapter *padapter)
 	rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_OP, (u8 *)(&bSaveFlag));
 }
 
-void Restore_DM_Func_Flag(struct adapter *padapter)
+void restore_dm_func_flag(struct adapter *padapter)
 {
 	u8 bSaveFlag = false;
 
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
index 2cd10810f9e9..e61905201194 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
@@ -434,7 +434,7 @@ void update_basic_rate_table(struct adapter *padapter, u8 *basic_rates);
 void update_basic_rate_table_soft_ap(u8 *bssrateset, u32 bssratelen);
 
 void save_dm_func_flag(struct adapter *padapter);
-void Restore_DM_Func_Flag(struct adapter *padapter);
+void restore_dm_func_flag(struct adapter *padapter);
 void switch_dm_func(struct adapter *padapter, u32 mode, u8 enable);
 
 void set_msr(struct adapter *padapter, u8 type);
-- 
2.34.1


  parent reply	other threads:[~2026-07-28 12:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-20 12:45 [PATCH 0/3] staging: rtl8723bs: fix coding style issues (CamelCase) Olivier Tanoh
2026-07-20 12:45 ` [PATCH 1/3] staging: rtl8723bs: rename mBratesOS to avoid CamelCase Olivier Tanoh
2026-07-28  7:30   ` Greg KH
2026-07-28 12:22     ` Olivier Tanoh
2026-07-28 12:36     ` [PATCH v2 0/3] staging: rtl8723bs: fix coding style issues (CamelCase) Olivier Tanoh
2026-07-28 12:36       ` [PATCH v2 1/3] staging: rtl8723bs: rename mBratesOS to avoid CamelCase Olivier Tanoh
2026-07-28 12:36       ` [PATCH v2 2/3] staging: rtl8723bs: rename Save_DM_Func_Flag functions " Olivier Tanoh
2026-07-28 12:36       ` Olivier Tanoh [this message]
2026-07-20 12:45 ` [PATCH " Olivier Tanoh
2026-07-20 12:45 ` [PATCH 3/3] staging: rtl8723bs: rename Restore_DM_Func_Flag " Olivier Tanoh

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=20260728123633.79735-4-olivier.tanoh19@gmail.com \
    --to=olivier.tanoh19@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /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