wil6210: use memdup_user
authorGeliang Tang <geliangtang@gmail.com>
Sat, 6 May 2017 15:42:19 +0000 (23:42 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 19 May 2017 07:53:06 +0000 (10:53 +0300)
commit9a49290919e1787ced66dcca055712338a9ee888
tree785cded023aa42e205c41069de0d103910af176b
parent8fed6823e06e43ee9cf7c0ffecec2f9111ce6201
wil6210: use memdup_user

Use memdup_user() helper instead of open-coding to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/debugfs.c