commit | ca92cc4636fdedf0d7ee88a5e50cd2b85c246a3b | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Sat Sep 08 16:36:20 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 10 15:20:20 2018 +0100 |
tree | 1af371ece3d3aa8b2677b9e457e564c3cb9afd17 | |
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>