]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: io: Remove hw_read() operation
authorMark Brown <broonie@linaro.org>
Tue, 4 Mar 2014 09:22:46 +0000 (17:22 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 4 Mar 2014 10:11:58 +0000 (18:11 +0800)
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>
include/sound/soc.h

index 6d0b6cb9c484cdff9deac8d45581f54e214c8374..14fb921c373fc3edd40d4feb0e9ce7b2627673f1 100644 (file)
@@ -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;