]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: use kzalloc() for dai_props / dai_link
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 26 Aug 2016 03:10:25 +0000 (03:10 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 20:22:59 +0000 (21:22 +0100)
commitc1ddbff0b3c422888b04fcf806517296e9e4cfe8
tree441185136f0367b58c0c8d45ca3ab9f5a764562f
parent04ab5eb3594f953424d416b9e81dd3f5a01049a7
ASoC: simple-card: use kzalloc() for dai_props / dai_link

simple sound card family are using very similar style, but because of its
historical reason, there are small differences. For example pointer style,
function name, caller postion etc...
This patch synchronized simple card style to other simple card family.

Now, simple card needs to 2 type of buffer for dai_props and dai_link.
But, these used different style for buffer allocation.
This patch make these same style as other simple card family.
(= use kzalloc() for both)

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c