aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-03-18 04:02:09 -0400
committerMark Brown <broonie@linaro.org>2014-04-14 12:22:43 -0400
commit20a0ec27ea11af0251ffeb5ee2b96cc5c72cb517 (patch)
treecefb32f73edb17e7c2a71276060985db35ba010f /include
parent96241c83293de346037b9a85e321f52ace210926 (diff)
ASoC: Remove IO register modifier callbacks
There are no ASoC drivers left that use them and new drivers are supposed to use regmap for this. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 14e7457e2347..a355d0f9a6f9 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -393,12 +393,6 @@ int devm_snd_soc_register_component(struct device *dev,
393 const struct snd_soc_component_driver *cmpnt_drv, 393 const struct snd_soc_component_driver *cmpnt_drv,
394 struct snd_soc_dai_driver *dai_drv, int num_dai); 394 struct snd_soc_dai_driver *dai_drv, int num_dai);
395void snd_soc_unregister_component(struct device *dev); 395void snd_soc_unregister_component(struct device *dev);
396int snd_soc_codec_volatile_register(struct snd_soc_codec *codec,
397 unsigned int reg);
398int snd_soc_codec_readable_register(struct snd_soc_codec *codec,
399 unsigned int reg);
400int snd_soc_codec_writable_register(struct snd_soc_codec *codec,
401 unsigned int reg);
402int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec, 396int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
403 struct regmap *regmap); 397 struct regmap *regmap);
404int snd_soc_cache_sync(struct snd_soc_codec *codec); 398int snd_soc_cache_sync(struct snd_soc_codec *codec);
@@ -692,9 +686,6 @@ struct snd_soc_codec {
692 struct list_head list; 686 struct list_head list;
693 struct list_head card_list; 687 struct list_head card_list;
694 int num_dai; 688 int num_dai;
695 int (*volatile_register)(struct snd_soc_codec *, unsigned int);
696 int (*readable_register)(struct snd_soc_codec *, unsigned int);
697 int (*writable_register)(struct snd_soc_codec *, unsigned int);
698 689
699 /* runtime */ 690 /* runtime */
700 struct snd_ac97 *ac97; /* for ad-hoc ac97 devices */ 691 struct snd_ac97 *ac97; /* for ad-hoc ac97 devices */
@@ -756,11 +747,6 @@ struct snd_soc_codec_driver {
756 /* codec IO */ 747 /* codec IO */
757 unsigned int (*read)(struct snd_soc_codec *, unsigned int); 748 unsigned int (*read)(struct snd_soc_codec *, unsigned int);
758 int (*write)(struct snd_soc_codec *, unsigned int, unsigned int); 749 int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);
759 int (*display_register)(struct snd_soc_codec *, char *,
760 size_t, unsigned int);
761 int (*volatile_register)(struct snd_soc_codec *, unsigned int);
762 int (*readable_register)(struct snd_soc_codec *, unsigned int);
763 int (*writable_register)(struct snd_soc_codec *, unsigned int);
764 unsigned int reg_cache_size; 750 unsigned int reg_cache_size;
765 short reg_cache_step; 751 short reg_cache_step;
766 short reg_word_size; 752 short reg_word_size;