wifi: ath9k: consistently use kstrtoX_from_user() functions
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 26 Jul 2023 18:50:08 +0000 (21:50 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 22 Aug 2023 13:37:53 +0000 (16:37 +0300)
commit8b804643f42db68a1b7c56dc90a2fe5da6e5cf83
tree0a4a5d086f3038454c0b264288d20aad2bb4598d
parent6edb4ba6fb5b946d112259f54f4657f82eb71e89
wifi: ath9k: consistently use kstrtoX_from_user() functions

Use 'kstrtoul_from_user()' and 'kstrtobool_from_user()'
where appropriate and thus avoid some code duplication.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230726185046.188225-1-dmantipov@yandex.ru
drivers/net/wireless/ath/ath9k/common-spectral.c
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/dfs_debug.c
drivers/net/wireless/ath/ath9k/htc_drv_debug.c
drivers/net/wireless/ath/ath9k/tx99.c