ASoC: WM8776: Removed unneeded struct member
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Fri, 5 Nov 2010 10:36:24 +0000 (10:36 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 6 Nov 2010 15:11:55 +0000 (11:11 -0400)
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>
sound/soc/codecs/wm8776.c

index 04182c464e35ffeffb069ad06242dca74da52248..0132a27140ae539c85c822b06b984b0733d84e41 100644 (file)
@@ -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];
 };