rtw88: 8822c: reorder macro position according to the register number
authorGuo-Feng Fan <vincent_fann@realtek.com>
Mon, 19 Apr 2021 00:37:46 +0000 (08:37 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 21 Apr 2021 09:36:29 +0000 (12:36 +0300)
commitf98bf9ee63122d91ab93bfd549c5dd73bf0fd55e
tree897c0306c71dfcbaecfa8b1db0124b1fd1b5759d
parenta926c025d56bb1acd8a192fca0e307331ee91b30
rtw88: 8822c: reorder macro position according to the register number

This patch doesn't change logic at all, just a refactor patch.

1. Move BIT MASK and BIT definition along with the register definition
2. Remove redundant definition
3. Align macros with Tab key

Signed-off-by: Guo-Feng Fan <vincent_fann@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210419003748.3224-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8822c.c
drivers/net/wireless/realtek/rtw88/rtw8822c.h