diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-08 16:36:20 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-10 15:20:20 +0100 |
commit | ca92cc4636fdedf0d7ee88a5e50cd2b85c246a3b (patch) | |
tree | 1af371ece3d3aa8b2677b9e457e564c3cb9afd17 /sound/soc/soc-dapm.c | |
parent | 18fbe800e6066050ab6ae7751708da04975cdc22 (diff) |
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: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-dapm.c')
0 files changed, 0 insertions, 0 deletions