]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun4i-i2s: Switch to devm for PCM register
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 19 Aug 2019 19:25:09 +0000 (21:25 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 20 Aug 2019 17:23:23 +0000 (18:23 +0100)
commitdead22482a5d8f6fea865138892575d5a43454d9
treeae960bc93f7112e70588f8c06b3ac929d7337453
parentd5db1a79b5a8235678d8a0da52b6bce27dbea8cb
ASoC: sun4i-i2s: Switch to devm for PCM register

Since the introduction of the driver, a new managed helper for the
dmaengine PCM registration has been created. Let's use it to simplify a bit
our probe and remove functions.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://lore.kernel.org/r/606d271187091e858e8c15e20555af0b79798fe1.1566242458.git-series.maxime.ripard@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c