]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: 8852bt: Use standard helper for string choice
authorAkhilesh Patil <akhilesh@ee.iitb.ac.in>
Fri, 8 Aug 2025 05:39:18 +0000 (11:09 +0530)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 12 Aug 2025 08:21:20 +0000 (16:21 +0800)
commit5846154126541b27281fbc9aba0c8ee97e22597b
tree4677d6dba96bfacc786e74cd997bee7eb6e297d3
parent04a2de8cfc95076d6c65d4d6d06d0f9d964a2105
wifi: rtw89: 8852bt: Use standard helper for string choice

Use standard helper str_on_off() defined at string_choices.h in
_dpk_information() to improve code reusability. Reduce hardcoding
of repeated use of the same strings to save code space.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202507282341.drTGfLWA-lkp@intel.com/
Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/aJWNhu9bAkcjEyb4@bhairav-test.ee.iitb.ac.in
drivers/net/wireless/realtek/rtw89/rtw8852bt_rfk.c