OSDN Git Service

ASoC: use snd_soc_component_init_regmap() on wm5102
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 28 Nov 2017 06:05:01 +0000 (06:05 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 4 Dec 2017 17:37:08 +0000 (17:37 +0000)
commit2d6e28c368aabbdc841c44a2213a5ee16cfd5ae2
tree200770c74f4b8b7c9cf3973cb9d7856fdd81d839
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: use snd_soc_component_init_regmap() on wm5102

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/wm5102.c