OSDN Git Service

ASoC: topology: Use kcalloc instead of kzalloc for array allocation
authorAxel Lin <axel.lin@ingics.com>
Wed, 5 Aug 2015 14:34:22 +0000 (22:34 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 6 Aug 2015 11:35:15 +0000 (12:35 +0100)
commit4ca7deb1e15e0030d04051cf4285e88249ebe252
tree6361859360aadbc05b35f65667089a5470f84a1b
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
ASoC: topology: Use kcalloc instead of kzalloc for array allocation

Also remove unnecessary memset.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c