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)
commite6d56d21bdcfd8968c1859bc1892608acad3e6d8
tree5f6842cbb108a58ca33ebc20694e97b3430f0d4a
parent16c1c089b23aea681600d504102db950c1bd6ee4
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