]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hisilicon: Use devm_snd_soc_register_component
authorJohn Stultz <john.stultz@linaro.org>
Tue, 11 Apr 2017 19:15:18 +0000 (12:15 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 11 Apr 2017 20:20:55 +0000 (21:20 +0100)
commita642f77a1cb3b02a3b6107b9bf7c6fc3bdbda5f8
tree5f6842cbb108a58ca33ebc20694e97b3430f0d4a
parenta9c2fce44d27d833e5de542e55095a5180a88f45
ASoC: hisilicon: Use devm_snd_soc_register_component

Per feedback from Mark Brown, this patch updates the hi6210-i2s
driver to use devm_snd_soc_register_component which simplifies
the logic a bit.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/hisilicon/hi6210-i2s.c