]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: rename rtw_btcoex_LPS_Leave to rtw_btcoex_lps_leave
authorLinus Probert <linus.probert@gmail.com>
Mon, 27 Apr 2026 17:38:57 +0000 (19:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2026 14:48:59 +0000 (16:48 +0200)
Renames rtw_btcoex_LPS_Leave to rtw_btcoex_lps_leave in order to conform
to kernel code style.

Found using checkpatch.pl.

Signed-off-by: Linus Probert <linus.probert@gmail.com>
Reviewed-by: Luka Gejak <luka.gejak@linux.dev>
Link: https://patch.msgid.link/20260427173857.585742-9-linus.probert@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_btcoex.c
drivers/staging/rtl8723bs/hal/hal_btcoex.c
drivers/staging/rtl8723bs/include/rtw_btcoex.h

index c9dd1a3cfabbe4f572c5abca84df30f924d98b91..38937ba837f2ccd5d17feb512f4e1d5bdd112499 100644 (file)
@@ -61,7 +61,7 @@ void rtw_btcoex_lps_enter(struct adapter *padapter)
        rtw_set_ps_mode(padapter, PS_MODE_MIN, 0, lps_val, "BTCOEX");
 }
 
-void rtw_btcoex_LPS_Leave(struct adapter *padapter)
+void rtw_btcoex_lps_leave(struct adapter *padapter)
 {
        struct pwrctrl_priv *pwrpriv;
 
index fc977d5497c42c95cc2e26a8bf46a8179770c367..81d25a4404c101ad65c7ef76814652dc1ab7ea3a 100644 (file)
@@ -36,7 +36,7 @@ static void halbtcoutsrc_LeaveLps(struct btc_coexist *pBtCoexist)
        pBtCoexist->btInfo.bBtCtrlLps = true;
        pBtCoexist->btInfo.bBtLpsOn = false;
 
-       rtw_btcoex_LPS_Leave(padapter);
+       rtw_btcoex_lps_leave(padapter);
 }
 
 static void halbtcoutsrc_EnterLps(struct btc_coexist *pBtCoexist)
@@ -60,7 +60,7 @@ static void halbtcoutsrc_NormalLps(struct btc_coexist *pBtCoexist)
 
        if (pBtCoexist->btInfo.bBtCtrlLps) {
                pBtCoexist->btInfo.bBtLpsOn = false;
-               rtw_btcoex_LPS_Leave(padapter);
+               rtw_btcoex_lps_leave(padapter);
                pBtCoexist->btInfo.bBtCtrlLps = false;
 
                /*  recover the LPS state to the original */
index 22010239515a562c496b6765ae4e666e35320ab0..765103498789803e6147c07332f580ce4ed96507 100644 (file)
@@ -22,6 +22,6 @@ void rtw_btcoex_halt_notify(struct adapter *padapter);
 /*  ================================================== */
 void rtw_btcoex_reject_ap_aggregated_packet(struct adapter *padapter, u8 enable);
 void rtw_btcoex_lps_enter(struct adapter *padapter);
-void rtw_btcoex_LPS_Leave(struct adapter *padapter);
+void rtw_btcoex_lps_leave(struct adapter *padapter);
 
 #endif /*  __RTW_BTCOEX_H__ */