From: "Jose A. Perez de Azpillaga" <azpijr@gmail.com>
To: linux-staging@lists.linux.dev
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Khushal Chitturi <khushalchitturi@gmail.com>,
Dan Carpenter <dan.carpenter@linaro.org>,
Ethan Tidmore <ethantidmore06@gmail.com>,
Zhuoheng Li <lizhuoheng@kylinos.cn>,
Ingo Molnar <mingo@kernel.org>,
Artur Stupa <arthur.stupa@gmail.com>,
Abraham Samuel Adekunle <abrahamadekunle50@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 4/4] staging: rtl8723bs: fix indentation, line length and declarations
Date: Tue, 3 Mar 2026 18:38:30 +0100 [thread overview]
Message-ID: <20260303173844.47975-5-azpijr@gmail.com> (raw)
In-Reply-To: <20260303173844.47975-1-azpijr@gmail.com>
Fix indentation to match opening parentheses, wrap lines exceeding 100
columns, and add a missing blank line after variable declarations.
Signed-off-by: Jose A. Perez de Azpillaga <azpijr@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
index 2312fc42a619..ec5753dafc2c 100644
--- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
+++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
@@ -113,7 +113,7 @@ static bool rtw_pwr_unassociated_idle(struct adapter *adapter)
}
if (pxmit_priv->free_xmitbuf_cnt != NR_XMITBUFF ||
- pxmit_priv->free_xmit_extbuf_cnt != NR_XMIT_EXTBUFF) {
+ pxmit_priv->free_xmit_extbuf_cnt != NR_XMIT_EXTBUFF) {
netdev_dbg(adapter->pnetdev,
"There are some pkts to transmit\n");
netdev_dbg(adapter->pnetdev,
@@ -325,7 +325,8 @@ static u8 PS_RDY_CHECK(struct adapter *padapter)
return true;
}
-void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char *msg)
+void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode,
+ u8 smart_ps, u8 bcn_ant_mode, const char *msg)
{
struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter);
@@ -352,7 +353,8 @@ void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_a
hal_btcoex_LpsNotify(padapter, ps_mode);
}
} else {
- if ((PS_RDY_CHECK(padapter) && check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE)) ||
+ if ((PS_RDY_CHECK(padapter) &&
+ check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE)) ||
((hal_btcoex_IsBtControlLps(padapter)) && (hal_btcoex_IsLpsOn(padapter)))
) {
u8 pslv;
@@ -444,7 +446,8 @@ void LPS_Enter(struct adapter *padapter, const char *msg)
if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) {
scnprintf(buf, sizeof(buf), "WIFI-%s", msg);
pwrpriv->bpower_saving = true;
- rtw_set_ps_mode(padapter, pwrpriv->power_mgnt, padapter->registrypriv.smart_ps, 0, buf);
+ rtw_set_ps_mode(padapter, pwrpriv->power_mgnt,
+ padapter->registrypriv.smart_ps, 0, buf);
}
} else {
pwrpriv->LpsIdleCount++;
@@ -981,6 +984,7 @@ void rtw_free_pwrctrl_priv(struct adapter *adapter)
inline void rtw_set_ips_deny(struct adapter *padapter, u32 ms)
{
struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter);
+
pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ms);
}
--
2.53.0
next prev parent reply other threads:[~2026-03-03 17:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 17:38 [PATCH 0/4] staging: rtl8723bs: coding style cleanups Jose A. Perez de Azpillaga
2026-03-03 17:38 ` [PATCH 1/4] staging: rtl8723bs: remove redundant blank lines Jose A. Perez de Azpillaga
2026-03-03 22:18 ` Ethan Tidmore
2026-03-04 0:08 ` Ethan Tidmore
2026-03-04 8:08 ` Dan Carpenter
2026-03-04 9:00 ` Ethan Tidmore
2026-03-03 17:38 ` [PATCH 2/4] staging: rtl8723bs: format operators and logical continuations Jose A. Perez de Azpillaga
2026-03-03 22:30 ` Ethan Tidmore
2026-03-03 22:31 ` Ethan Tidmore
2026-03-03 17:38 ` [PATCH 3/4] staging: rtl8723bs: curly brace consistency Jose A. Perez de Azpillaga
2026-03-04 0:03 ` Ethan Tidmore
2026-03-03 17:38 ` Jose A. Perez de Azpillaga [this message]
2026-03-04 0:07 ` [PATCH 4/4] staging: rtl8723bs: fix indentation, line length and declarations 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=20260303173844.47975-5-azpijr@gmail.com \
--to=azpijr@gmail.com \
--cc=abrahamadekunle50@gmail.com \
--cc=arthur.stupa@gmail.com \
--cc=dan.carpenter@linaro.org \
--cc=ethantidmore06@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=khushalchitturi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=lizhuoheng@kylinos.cn \
--cc=mingo@kernel.org \
/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 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.