]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: make return values consistent
authorMartin Kaiser <martin@kaiser.cx>
Wed, 13 Apr 2022 19:36:48 +0000 (21:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Apr 2022 07:06:59 +0000 (09:06 +0200)
commit24252cf25e77fef41550a05e5d0e8365ffcbecf6
tree68195d9ba2a3cff792e3c1a9f1396c2c08c52097
parent74ec4af3baa08429010e29beb2368e355849ff1d
staging: r8188eu: make return values consistent

rtw_pwr_wakeup should return _SUCCESS or _FAIL.

Replace false with _FAIL in one place and reformat the if-statement.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220413193654.258507-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_pwrctrl.c