summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ad193x.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-10-20 16:56:11 +0800
committerMark Brown <broonie@kernel.org>2015-10-20 16:59:29 +0100
commit92b822a499607c32ce12ffd798a095babedc3202 (patch)
tree1acfacd58c3d939ab32c718e2b1f0897190b0993 /sound/soc/codecs/ad193x.c
parent355b27e181f667dad248a40d3d4d48150e9a593c (diff)
downloadlinux-92b822a499607c32ce12ffd798a095babedc3202.tar.bz2
ASoC: ad193x: Drop .volatile_reg implementation
adau193x_reg_volatile() always return false. This seems pointless because current code uses REGCACHE_NONE cache_type which is supposed to be volatile. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/ad193x.c')
-rw-r--r--sound/soc/codecs/ad193x.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
index 76d7966bd72c..3a3f3f2343d7 100644
--- a/sound/soc/codecs/ad193x.c
+++ b/sound/soc/codecs/ad193x.c
@@ -418,14 +418,8 @@ static struct snd_soc_codec_driver soc_codec_dev_ad193x = {
.num_dapm_routes = ARRAY_SIZE(audio_paths),
};
-static bool adau193x_reg_volatile(struct device *dev, unsigned int reg)
-{
- return false;
-}
-
const struct regmap_config ad193x_regmap_config = {
.max_register = AD193X_NUM_REGS - 1,
- .volatile_reg = adau193x_reg_volatile,
};
EXPORT_SYMBOL_GPL(ad193x_regmap_config);