ASoC: Remove unused control_type field from snd_soc_codec struct
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 31 Aug 2013 09:02:17 +0000 (11:02 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 31 Aug 2013 11:48:23 +0000 (12:48 +0100)
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>
include/sound/soc.h

index d57a04e..254bcda 100644 (file)
@@ -701,7 +701,6 @@ struct snd_soc_codec {
 
        /* codec IO */
        void *control_data; /* codec control (i2c/3wire) data */
-       enum snd_soc_control_type control_type;
        hw_write_t hw_write;
        unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int);
        unsigned int (*read)(struct snd_soc_codec *, unsigned int);