[PATCH 0/2] staging: rtl8723bs: cleanup LPS_RF_ON_check

From: Hungyu Lin

Date: Mon May 11 2026 - 23:05:15 EST


This series cleans up LPS_RF_ON_check().

Patch 1 simplifies the control flow by removing the err + break
pattern and using direct returns.

Patch 2 converts the function to use standard kernel error codes.

No functional changes intended.

Hungyu Lin (2):
staging: rtl8723bs: simplify LPS_RF_ON_check control flow
staging: rtl8723bs: convert LPS_RF_ON_check to errno

drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 26 +++++++------------
.../staging/rtl8723bs/include/rtw_pwrctrl.h | 2 +-
2 files changed, 11 insertions(+), 17 deletions(-)

--
2.34.1