wifi: rtw89: Convert rtw89_core_set_supported_band to use devm_*

The code can be simplified by using device managed memory
allocations. Simplify it.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250429122916.1734879-2-megi@xff.cz
This commit is contained in:
Ondrej Jirman 2025-04-29 14:29:10 +02:00 • committed by Ping-Ke Shih
commit 145df52a86