diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-08-31 22:31:13 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-17 03:37:03 +0400 |
commit | b012aa619e50d22df0835b64a5dcebc221fb8053 (patch) | |
tree | 865f9b33347b38012c95af67df3bb58b4d9be604 /include/sound | |
parent | 2a1212a8342c469cee240cf69fe3001b898cda8e (diff) | |
download | linux-b012aa619e50d22df0835b64a5dcebc221fb8053.tar.xz |
ASoC: Remove reg_def_copy
reg_def_copy was introduced in commit 3335ddca ("ASoC: soc-cache: Use
reg_def_copy instead of reg_cache_default") to keep a copy of the register
defaults around in case the register defaults where placed in the __devinitdata
section. With the __devinitdata section gone we effectivly keep the same data
around twice. This patch removes reg_def_copy and uses reg_cache_default
directly instead.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 3f7de6f992c0..62f320f56644 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -687,7 +687,6 @@ struct snd_soc_codec { unsigned int (*read)(struct snd_soc_codec *, unsigned int); int (*write)(struct snd_soc_codec *, unsigned int, unsigned int); void *reg_cache; - const void *reg_def_copy; const struct snd_soc_cache_ops *cache_ops; struct mutex cache_rw_mutex; int val_bytes; |