rtw89: fill regd field of limit/limit_ru tables by enum
authorZong-Zhe Yang <kevin_yang@realtek.com>
Mon, 1 Nov 2021 09:31:03 +0000 (17:31 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Nov 2021 16:10:09 +0000 (18:10 +0200)
commit02356226692646b52160fbb214fe18e0d2a1c3eb
tree363328c9b305dc63c7c6a8df79bdd5ce4a356fc6
parent728e26c3ac89427de181c1e8400d27d7b6c3a8a5
rtw89: fill regd field of limit/limit_ru tables by enum

This modification just replaces the number filled in the regd field
with the corresponding enum. No assignment of a value in a table is
changed. Doing this first is because the follow-up patches may adjust
the order of enum declarations.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211101093106.28848-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852a_table.c