From: Luca Hernandez <lucay202@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, Luca Hernandez <lucay202@gmail.com>
Subject: [PATCH] staging: rtl8723bs: remove CamelCase variable pbDriverStopped
Date: Sat, 3 Oct 2026 12:58:19 +0100 [thread overview]
Message-ID: <20261003115819.23641-1-lucay202@gmail.com> (raw)
Rename the pointer variable pbDriverStopped to driver_stopped to eliminate
the use of CamelCase and Hungarian notation prefixes. This aligns the
driver's HAL code with standard Linux kernel coding style guidelines and
resolves checkpatch.pl audit warnings.
Signed-off-by: Luca Hernandez <lucay202@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm.c | 2 +-
drivers/staging/rtl8723bs/hal/odm.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c
index f3989fa33d9f..505c21bd1847 100644
--- a/drivers/staging/rtl8723bs/hal/odm.c
+++ b/drivers/staging/rtl8723bs/hal/odm.c
@@ -773,7 +773,7 @@ void ODM_CmnInfoHook(struct dm_odm_t *pDM_Odm, enum odm_cmninfo_e CmnInfo, void
break;
case ODM_CMNINFO_DRV_STOP:
- pDM_Odm->pbDriverStopped = pValue;
+ pDM_Odm->driver_stopped = pValue;
break;
case ODM_CMNINFO_PNP_IN:
diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h
index 3532f0d79363..47034ca1af26 100644
--- a/drivers/staging/rtl8723bs/hal/odm.h
+++ b/drivers/staging/rtl8723bs/hal/odm.h
@@ -848,7 +848,7 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
/* common */
- bool *pbDriverStopped;
+ bool *driver_stopped;
bool *pbDriverIsGoingToPnpSetPowerSleep;
bool *pinit_adpt_in_progress;
--
2.55.0
next reply other threads:[~2026-10-03 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-03 11:58 Luca Hernandez [this message]
2026-10-03 12:35 ` [PATCH] staging: rtl8723bs: remove CamelCase variable pbDriverStopped Greg KH
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=20261003115819.23641-1-lucay202@gmail.com \
--to=lucay202@gmail.com \
--cc=gregkh@linuxfoundation.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