summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-11-05 10:36:24 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-06 15:11:55 (GMT)
commit197ebd4053c42351e3737d83aebb33ed97ed2dd8 (patch)
tree6c13e05ae90d4c02fd8c70c41761e286980c63aa /sound
parent71a295602ed967fa22d96d57a2e38bb86de24db7 (diff)
downloadlinux-fsl-qoriq-197ebd4053c42351e3737d83aebb33ed97ed2dd8.tar.xz
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>
Diffstat (limited to 'sound')
-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 04182c4..0132a27 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];
};