Skip to content
Commit 801da462 authored by zhong jiang's avatar zhong jiang Committed by Vladimir Zapolskiy
Browse files

ARM: lpc32xx: Use kmemdup to replace duplicating its implementation



kmemdup is better than kmalloc() + memcpy(), and we do not like
open code. So just use kmemdup instead.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
[vzapolskiy: resolved a merge conflict]
Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
parent ac04fd65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment