aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-08-31 05:02:17 -0400
committerMark Brown <broonie@linaro.org>2013-08-31 07:48:23 -0400
commit43d92e7d9aa13b91687f671ea7015204bc88fb84 (patch)
tree9796badea101673b77ee50b9ca541c0e8120f8d2 /include/sound
parent824ef826f3c4d83d1925a5e351313bfd3e5ca6cb (diff)
ASoC: Remove unused control_type field from snd_soc_codec struct
The control_type field was used by the core to track which raw IO methods to use, but when switching to regmap this was no longer necessary and so the last user of the field was removed in commit be3ea3b9 ("ASoC: Use new register map API for ASoC generic physical I/O"). The field is now completely unused and can be removed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index d57a04e7553d..254bcda40695 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -701,7 +701,6 @@ struct snd_soc_codec {
701 701
702 /* codec IO */ 702 /* codec IO */
703 void *control_data; /* codec control (i2c/3wire) data */ 703 void *control_data; /* codec control (i2c/3wire) data */
704 enum snd_soc_control_type control_type;
705 hw_write_t hw_write; 704 hw_write_t hw_write;
706 unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int); 705 unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int);
707 unsigned int (*read)(struct snd_soc_codec *, unsigned int); 706 unsigned int (*read)(struct snd_soc_codec *, unsigned int);