aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-03-04 04:22:46 -0500
committerMark Brown <broonie@linaro.org>2014-03-04 05:11:58 -0500
commitfeff9f3c9612b2de9c008e207079bb233a9eb492 (patch)
tree190c0249fc3d867101ee664cf1b7c7cc787d3d77
parentd4179c1deafd216b9358f76f5f399220cb8451ab (diff)
ASoC: io: Remove hw_read() operation
We now no longer have any users of hw_read() in the kernel so remove the code in order to prevent any new users being added. Users should be using regmap. Signed-off-by: Mark Brown <broonie@linaro.org>
-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 6d0b6cb9c484..14fb921c373f 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -695,7 +695,6 @@ struct snd_soc_codec {
695 /* codec IO */ 695 /* codec IO */
696 void *control_data; /* codec control (i2c/3wire) data */ 696 void *control_data; /* codec control (i2c/3wire) data */
697 hw_write_t hw_write; 697 hw_write_t hw_write;
698 unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int);
699 unsigned int (*read)(struct snd_soc_codec *, unsigned int); 698 unsigned int (*read)(struct snd_soc_codec *, unsigned int);
700 int (*write)(struct snd_soc_codec *, unsigned int, unsigned int); 699 int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);
701 void *reg_cache; 700 void *reg_cache;