rtw88: 8822c: fix boolreturn.cocci warnings
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 16 Sep 2019 02:41:40 +0000 (10:41 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 1 Oct 2019 09:17:37 +0000 (12:17 +0300)
commit0d32f5d93bbaeb57b607cb5cb1c67626d5754905
tree070d748ffedaada4956aba623799bf4ed9ca1510
parentfa38b4fddc7c2ffbaff885eb92f4b20c25b0a81f
rtw88: 8822c: fix boolreturn.cocci warnings

drivers/net/wireless/realtek/rtw88/rtw8822c.c:2606:9-10: WARNING: return
of 0/1 in function 'rtw8822c_dpk_coef_iq_check' with return type bool

Return statements in functions returning bool should use true/false
instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci

Fixes: 5227c2ee453d ("rtw88: 8822c: add SW DPK support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/rtw8822c.c