]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2cc0eabb3fbfc9cf3e3f8aa948778ec111b96cd
tree84372b55972db4e74b44a4417a9a2c32ca13dc39
parent8c6a4f0c2226f655b052e23216d61a2792f4c558
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