summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-05-08 06:19:16 +0300
committerMark Brown <broonie@kernel.org>2018-05-09 12:38:52 +0300
commit2250e76d78e82b1da0f6f571f7211dfa78cbd469 (patch)
treea639fedf7c1d8419deae0624d3f043ba7f61e078 /include/sound
parentd1021c88526273644a711d481fd1117a67b6ae20 (diff)
downloadlinux-2250e76d78e82b1da0f6f571f7211dfa78cbd469.tar.xz
ASoC: remove .get_regmap
To setup regmap, ALSA SoC has snd_soc_component_init_regmap() and .get_regmap. But these are duplicated feature. Now, no one is using .get_regmap, let's remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 7233d3a206b2..309bb70bcb1e 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -947,8 +947,6 @@ struct snd_soc_codec_driver {
int (*set_jack)(struct snd_soc_codec *codec,
struct snd_soc_jack *jack, void *data);
- /* codec IO */
- struct regmap *(*get_regmap)(struct device *);
unsigned int (*read)(struct snd_soc_codec *, unsigned int);
int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);