]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: Change return type of hal_btcoex_IsLpsOn()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Fri, 2 Aug 2019 06:24:43 +0000 (11:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2019 11:59:53 +0000 (13:59 +0200)
commit4868c03a96024df1700b65dbb92cea4d08dcdec3
treee167eb44200438cf266aa0ef9874aaf7ee6e814f
parentc9fe89139e7862594b2b120b1908e52268bb51ee
staging: rtl8723bs: Change return type of hal_btcoex_IsLpsOn()

Change return type of hal_btcoex_IsLpsOn from u8 to bool as the
function only returns boolean values.
Modify a comparison of a boolean value to false to instead check that
boolean value directly.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190802062444.30384-3-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_btcoex.c
drivers/staging/rtl8723bs/include/hal_btcoex.h