diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-12-28 15:37:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-28 18:37:21 -0500 |
commit | 839d271c509b6ce5c1da8a8e89fad73a1af0ddda (patch) | |
tree | 0e319023c344782d30c4d1a806a0a94b90e25be0 /sound/soc/codecs/wm8750.c | |
parent | 6dc47e97a064c4fc0e324fc4accc90415c1509b2 (diff) |
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/wm8750.c')
-rw-r--r-- | sound/soc/codecs/wm8750.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c index 51280e96d721..38f38fddd190 100644 --- a/sound/soc/codecs/wm8750.c +++ b/sound/soc/codecs/wm8750.c | |||
@@ -52,7 +52,6 @@ static const u16 wm8750_reg[] = { | |||
52 | struct wm8750_priv { | 52 | struct wm8750_priv { |
53 | unsigned int sysclk; | 53 | unsigned int sysclk; |
54 | enum snd_soc_control_type control_type; | 54 | enum snd_soc_control_type control_type; |
55 | u16 reg_cache[ARRAY_SIZE(wm8750_reg)]; | ||
56 | }; | 55 | }; |
57 | 56 | ||
58 | #define wm8750_reset(c) snd_soc_write(c, WM8750_RESET, 0) | 57 | #define wm8750_reset(c) snd_soc_write(c, WM8750_RESET, 0) |