aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-11-05 10:36:24 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-06 11:11:55 -0400
commit197ebd4053c42351e3737d83aebb33ed97ed2dd8 (patch)
tree6c13e05ae90d4c02fd8c70c41761e286980c63aa
parent71a295602ed967fa22d96d57a2e38bb86de24db7 (diff)
downloadmrst-s0i3-test-197ebd4053c42351e3737d83aebb33ed97ed2dd8.tar.gz
mrst-s0i3-test-197ebd4053c42351e3737d83aebb33ed97ed2dd8.tar.xz
mrst-s0i3-test-197ebd4053c42351e3737d83aebb33ed97ed2dd8.zip
ASoC: WM8776: Removed unneeded struct member
The member reg_cache is not used at all and therefore it should be removed. This member was usually needed for older versions of ASoC that did not handle caching automatically and had to be done in the driver itself. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/wm8776.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c
index 04182c464e3..0132a27140a 100644
--- a/sound/soc/codecs/wm8776.c
+++ b/sound/soc/codecs/wm8776.c
@@ -34,7 +34,6 @@
/* codec private data */
struct wm8776_priv {
enum snd_soc_control_type control_type;
- u16 reg_cache[WM8776_CACHEREGNUM];
int sysclk[2];
};