diff options
author | 2021-04-19 22:11:23 +0200 | |
---|---|---|
committer | 2021-04-22 10:42:23 +0200 | |
commit | 8a24201f824a7daee44662b412042f74ce46145b (patch) | |
tree | 2e6568cf6ed306e43937ba06636257bfe37f3f5c | |
parent | staging: rtl8723bs: remove empty #ifdef block (diff) | |
download | linux-dev-8a24201f824a7daee44662b412042f74ce46145b.tar.xz linux-dev-8a24201f824a7daee44662b412042f74ce46145b.zip |
staging: rtl8188eu: change bLeisurePs' type to bool
bLeisurePs is used as a boolean variable. Change its type from
u8 to bool.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210419201126.25633-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h index 06062643c868..4345dc0c7cf9 100644 --- a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h +++ b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h @@ -171,7 +171,7 @@ struct pwrctrl_priv { unsigned long ips_deny_time; /* will deny IPS when system time less than this */ u8 ps_processing; /* temp used to mark whether in rtw_ps_processor */ - u8 bLeisurePs; + bool bLeisurePs; u8 LpsIdleCount; u8 power_mgnt; u8 bFwCurrentInPSMode; |