ASoC: use snd_soc_component_init_regmap() on wm8997
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 28 Nov 2017 06:03:48 +0000 (06:03 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 4 Dec 2017 17:31:13 +0000 (17:31 +0000)
commit1e4a36afe04b8edd9affc41371822a79599b98e0
tree273e80c7b98b2f5679e785d24d33ddc6f042df5e
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: use snd_soc_component_init_regmap() on wm8997

To setup regmap, ALSA SoC has snd_soc_component_init_regmap() and
.get_regmap. But these are duplicated feature.
Let's use snd_soc_component_init_regmap() and remove .get_regmap

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8997.c