summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDimitris Papastamos2010-11-05 11:36:24 +0100
committerMark Brown2010-11-06 16:11:55 +0100
commit197ebd4053c42351e3737d83aebb33ed97ed2dd8 (patch)
tree6c13e05ae90d4c02fd8c70c41761e286980c63aa /sound
parentASoC: Lock the CODEC in PXA external jack controls (diff)
downloadkernel-qcow2-linux-197ebd4053c42351e3737d83aebb33ed97ed2dd8.tar.gz
kernel-qcow2-linux-197ebd4053c42351e3737d83aebb33ed97ed2dd8.tar.xz
kernel-qcow2-linux-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>
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 04182c464e35..0132a27140ae 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];
};