]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: convert type to bool
authorAastha Gupta <aastha.gupta4104@gmail.com>
Sun, 8 Oct 2017 04:54:54 +0000 (10:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 14:07:49 +0000 (16:07 +0200)
commitcf3965f2b95c62b6d77030881efe8fb908eb758f
tree4a58e962b89b9efdc366d850744aa236c1674aa7
parentc20a347b0bd5bbbb6b89bced354c76f97638146b
staging: rtl8723bs: convert type to bool

Here the variable bips_processing is always supplied a bool value
while inside struct definition it is defined as an uint type.
Fix it by defining bips_processing a bool type.

Also a restore_iqk_rst = (pwrpriv->bips_processing == true) is same
as restore_iqk_rst = pwrpriv->bips_processing

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_halinit.c
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h