]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: Convert rtw89_core_set_supported_band to use devm_*
authorOndrej Jirman <megi@xff.cz>
Tue, 29 Apr 2025 12:29:10 +0000 (14:29 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 5 May 2025 02:16:10 +0000 (10:16 +0800)
commit145df52a8671dc1cce4923904b3555971ee52612
tree2eb4d2868c64e239a6170a3e64fa65712979fbd5
parentc3dded7791370b8fa2354409542f8df19139c011
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
drivers/net/wireless/realtek/rtw89/core.c