ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 28 Jun 2019 04:07:05 +0000 (13:07 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jun 2019 14:08:38 +0000 (15:08 +0100)
commit8af26493c03581ad476a77630502de6152cf013d
tree3e406406e89a617565a13eeed6383cecded097fe
parent8fc22fa4b2cd983e4c542d1841b3d2212ad18ed4
ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register()

We have devm_xxx version of snd_dmaengine_pcm_register,
let's use it.

This patch also removes related empty functions

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel-pcm-dma.c
sound/soc/atmel/atmel-pcm-pdc.c
sound/soc/atmel/atmel-pcm.h
sound/soc/atmel/atmel_ssc_dai.c