]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: regd: introduce string getter for reuse
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 26 Mar 2025 02:06:33 +0000 (10:06 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 31 Mar 2025 06:20:12 +0000 (14:20 +0800)
commit4cecf99124925bf27ed17a0f75cf44409b1ac6ae
tree538a3ac463391ae68c336afcf7423625e8b90d22
parent8bde621f124b593e3d1570a40d02155690714e3f
wifi: rtw89: regd: introduce string getter for reuse

Introduce a function to get the string for a given regulatory. It will be
used in the following. Besides, drop similar things in debug code and use
this too.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250326020643.14487-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/regd.c