commit | 18fbe800e6066050ab6ae7751708da04975cdc22 | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Sat Sep 08 16:36:19 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 10 15:20:16 2018 +0100 |
tree | 3dd8b3bc158935f6aaf2a50508ef20e95df12c7d | |
parent | fb77436a444e9836e6b1b0a457bc9c09cdce22f6 [diff] |
ASoC: q6core: Use kmemdup to replace kzalloc + memcpy kmemdup has implemented the function that kzalloc() + memcpy() will do. and we prefer to use the kmemdup rather than the open coded implementation. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>