]> 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)
commitcc168d017687b7f579f7aa8a24fdc3eb1c7d79aa
tree441185136f0367b58c0c8d45ca3ab9f5a764562f
parent704e9143fd98bdc30204a8e1fbf05b648b6ef574
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