wifi: ath11k: use kstrtoul_from_user() where appropriate
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 21 Sep 2023 08:16:57 +0000 (11:16 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 28 Sep 2023 14:18:15 +0000 (17:18 +0300)
commit458f66c30df2b8495790cf6fca76ebad44046921
treecf0fc0b420f6dac7ed19bbcac120609b85cf59eb
parent9066794113c4813b6ce4a66ed6ce14ecdf35625d
wifi: ath11k: use kstrtoul_from_user() where appropriate

Use 'kstrtoul_from_user()' in 'ath11k_write_file_spectral_count()'
and 'ath11k_write_file_spectral_bins()'

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/20230824075121.121144-4-dmantipov@yandex.ru
drivers/net/wireless/ath/ath11k/spectral.c