Skip to content
Snippets Groups Projects
Unverified Commit ca92cc46 authored by zhong jiang's avatar zhong jiang Committed by Mark Brown
Browse files

ASoC: skl-topology: Use kmemdup to replace kzalloc + memcpy


kmemdup has implemented the function that kzalloc() + memcpy() will
do. and we prefer to kmemdup rather than the open coded implementation.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 18fbe800
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment