wlcore: use memdup_user
authorGeliang Tang <geliangtang@gmail.com>
Sat, 6 May 2017 15:42:20 +0000 (23:42 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 May 2017 13:41:23 +0000 (16:41 +0300)
commit6a01d48d47c8985146e54a1f0ea57daf63d0f47b
tree8e5d664fba9af91d9923a723c0e6ef7729eb2539
parent6d7d579a8243b9db3a20e6a95ec726abae58aec4
wlcore: 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@codeaurora.org>
drivers/net/wireless/ti/wlcore/debugfs.c