]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: Remove reg_def_copy
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 31 Aug 2013 18:31:13 +0000 (20:31 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:37:03 +0000 (00:37 +0100)
commitb012aa619e50d22df0835b64a5dcebc221fb8053
tree865f9b33347b38012c95af67df3bb58b4d9be604
parent2a1212a8342c469cee240cf69fe3001b898cda8e
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>
include/sound/soc.h
sound/soc/soc-cache.c
sound/soc/soc-core.c