wifi: ath10k: consistently use kstrtoX_from_user() functions
authorDmitry Antipov <dmantipov@yandex.ru>
Sat, 30 Sep 2023 04:54:47 +0000 (07:54 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 2 Oct 2023 16:54:51 +0000 (19:54 +0300)
commit3fcb81420aca8cbc6f45f36c90ff09fc12d31024
tree3872dbd1a487acca1782e7e1f5516208b755ea6c
parent972754bfeec489fc03eec3df512be11dff457a65
wifi: ath10k: consistently use kstrtoX_from_user() functions

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

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230920154018.48314-1-dmantipov@yandex.ru
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/spectral.c