From: Mark Brown Date: Tue, 4 Mar 2014 09:22:46 +0000 (+0800) Subject: ASoC: io: Remove hw_read() operation X-Git-Tag: accepted/tizen/common/20141203.182822~239^2~1^2~3^2~3^3~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=feff9f3c9612b2de9c008e207079bb233a9eb492;p=platform%2Fkernel%2Flinux-arm64.git 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 --- 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;