From: Linus Probert Date: Mon, 27 Apr 2026 17:38:57 +0000 (+0200) Subject: staging: rtl8723bs: rename rtw_btcoex_LPS_Leave to rtw_btcoex_lps_leave X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d845a187463e579eb0631cc927c73f72e41fe62b;p=thirdparty%2Flinux.git staging: rtl8723bs: rename rtw_btcoex_LPS_Leave to rtw_btcoex_lps_leave 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 Reviewed-by: Luka Gejak Link: https://patch.msgid.link/20260427173857.585742-9-linus.probert@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c index c9dd1a3cfabb..38937ba837f2 100644 --- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c +++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c @@ -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; diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c index fc977d5497c4..81d25a4404c1 100644 --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c @@ -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 */ diff --git a/drivers/staging/rtl8723bs/include/rtw_btcoex.h b/drivers/staging/rtl8723bs/include/rtw_btcoex.h index 22010239515a..765103498789 100644 --- a/drivers/staging/rtl8723bs/include/rtw_btcoex.h +++ b/drivers/staging/rtl8723bs/include/rtw_btcoex.h @@ -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__ */