Skip to content

Commit

Permalink
ASoC: io: Remove hw_read() operation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Mar 4, 2014
1 parent d4179c1 commit feff9f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit feff9f3

Please sign in to comment.