staging: r8188eu: fix warnings in rtw_pwrctrl
authorVihas Makwana <makvihas@gmail.com>
Tue, 17 May 2022 14:06:25 +0000 (19:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:44:43 +0000 (17:44 +0200)
commit43ea9201795fb47dd48beaf64b3184bdfd481260
tree9a276f004426b94f0e4f3574de4eaca69fcc4480
parent801626f71d6f822e0becbfaa8b26a41addea693a
staging: r8188eu: fix warnings in rtw_pwrctrl

Refactor the code to fix following warnings:
    WARNING: Comparisons should place the constant on the right side of the test

Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220517140626.3716-3-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_pwrctrl.c