wifi: rtw88: mac: Use existing macros in rtw_pwr_seq_parser()
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 4 Feb 2023 23:30:01 +0000 (00:30 +0100)
committerKalle Valo <kvalo@kernel.org>
Mon, 13 Feb 2023 15:15:46 +0000 (17:15 +0200)
commit24d54855ff36c7c6256cb48b735a927090142a51
tree40b39b405b5d9b095ae7880a1688a1abe1d85bb4
parent7b6e9df91133e13ce7d980fcdb55cc7f26099106
wifi: rtw88: mac: Use existing macros in rtw_pwr_seq_parser()

Replace the magic numbers for the intf_mask with their existing
RTW_PWR_INTF_PCI_MSK and RTW_PWR_INTF_USB_MSK macros to make the code
easier to understand.

Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230204233001.1511643-5-martin.blumenstingl@googlemail.com
drivers/net/wireless/realtek/rtw88/mac.c