summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-03-04 17:22:46 +0800
committerMark Brown <broonie@linaro.org>2014-03-04 18:11:58 +0800
commitfeff9f3c9612b2de9c008e207079bb233a9eb492 (patch)
tree190c0249fc3d867101ee664cf1b7c7cc787d3d77 /include/sound
parentd4179c1deafd216b9358f76f5f399220cb8451ab (diff)
downloadop-kernel-dev-feff9f3c9612b2de9c008e207079bb233a9eb492.zip
op-kernel-dev-feff9f3c9612b2de9c008e207079bb233a9eb492.tar.gz
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>
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 6d0b6cb..14fb921 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -695,7 +695,6 @@ struct snd_soc_codec {
/* codec IO */
void *control_data; /* codec control (i2c/3wire) data */
hw_write_t hw_write;
- unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int);
unsigned int (*read)(struct snd_soc_codec *, unsigned int);
int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);
void *reg_cache;
OpenPOWER on IntegriCloud