wifi: rtw89: 8852b: use 'int' as return type of error code pwr_{on,off}_func()

The return type of error code of rtw8852b_pwr_{on,off}_func() and its
callee is 'int'. Correct it.

Addresses-Coverity-ID: 1622433 ("Overflowed constant")
Addresses-Coverity-ID: 1630710 ("Overflowed constant")

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241009004300.8144-5-pkshih@realtek.com
This commit is contained in:
Ping-Ke Shih 2024-10-09 08:42:58 +08:00
commit 50e9febff3