]> git.baikalelectronics.ru Git - kernel.git/commit
atmel: use memdup_user to simplify the code
authorYueHaibing <yuehaibing@huawei.com>
Mon, 4 Jun 2018 10:32:10 +0000 (18:32 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Jun 2018 16:06:00 +0000 (19:06 +0300)
commit34dc994f3c46ee40291eb6eb7ee13651ba57a7bf
tree9f3c3497aa62b7b383200464aa9a0f04eeb6885a
parenta8ae92fa2680e8a6f2378c288b575430dd7064f9
atmel: use memdup_user to simplify the code

use existing memdup_user() helper function instead of open-coding

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/atmel/atmel.c