]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: rtl8188eu: change bLeisurePs' type to bool
authorMartin Kaiser <martin@kaiser.cx>
Mon, 19 Apr 2021 20:11:23 +0000 (22:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 08:42:23 +0000 (10:42 +0200)
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>
drivers/staging/rtl8188eu/include/rtw_pwrctrl.h

index 06062643c868c34531be1c616f96fb660811cbb4..4345dc0c7cf9c781ad437131bb47a812ba69bd9f 100644 (file)
@@ -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;