ASoC: hdmi-codec.c: use devm_kzalloc() for DMA data
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 9 Sep 2022 01:20:48 +0000 (01:20 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 9 Sep 2022 21:27:08 +0000 (22:27 +0100)
commit985f03ba6f4bc37bdacd2e78906e6b731e03ab32
tree84372b55972db4e74b44a4417a9a2c32ca13dc39
parentcc4a3a19b986aa13a488c8f319e413e85308f403
ASoC: hdmi-codec.c: use devm_kzalloc() for DMA data

hdmi-codec.c is using kzalloc(), but we can replace it to
devm_kzalloc() and then, we can remove .remove callback.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/874jxhmjgw.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c