summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm9081.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-12-28 21:37:55 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-28 23:37:21 +0000
commit839d271c509b6ce5c1da8a8e89fad73a1af0ddda (patch)
tree0e319023c344782d30c4d1a806a0a94b90e25be0 /sound/soc/codecs/wm9081.c
parent6dc47e97a064c4fc0e324fc4accc90415c1509b2 (diff)
downloadop-kernel-dev-839d271c509b6ce5c1da8a8e89fad73a1af0ddda.zip
op-kernel-dev-839d271c509b6ce5c1da8a8e89fad73a1af0ddda.tar.gz
ASoC: codecs: Remove unused reg_cache fields from device structs
The multi-component patch(commit f0fba2ad1) moved the allocation of the register cache from the driver to the ASoC core. Most drivers where adjusted to this, but there are quite a few drivers left which now have an unused reg_cache field in their private device struct. This patch removes these unused fields. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm9081.c')
-rw-r--r--sound/soc/codecs/wm9081.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c
index e5055b2..702db69 100644
--- a/sound/soc/codecs/wm9081.c
+++ b/sound/soc/codecs/wm9081.c
@@ -157,7 +157,6 @@ static struct {
struct wm9081_priv {
enum snd_soc_control_type control_type;
void *control_data;
- u16 reg_cache[WM9081_MAX_REGISTER + 1];
int sysclk_source;
int mclk_rate;
int sysclk_rate;
OpenPOWER on IntegriCloud