• Lars-Peter Clausen's avatar
    ASoC: Remove reg_def_copy · b012aa61
    Lars-Peter Clausen authored
    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: default avatarLars-Peter Clausen <lars@metafoo.de>
    Signed-off-by: default avatarMark Brown <broonie@linaro.org>
    b012aa61
soc-cache.c 6.41 KB