From: Mark Brown Date: Thu, 16 Feb 2012 08:46:05 +0000 (-0800) Subject: ASoC: wm8962: Clean up register dump cruft X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5aa9b858ef4ad9dc5551abe62a92d16f9c7a9680;p=linux-beck.git ASoC: wm8962: Clean up register dump cruft No longer needed with regmap. Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 95a8b6aae22e..c36178b3d441 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c @@ -3630,20 +3630,11 @@ static int wm8962_remove(struct snd_soc_codec *codec) return 0; } -static int wm8962_soc_volatile(struct snd_soc_codec *codec, - unsigned int reg) -{ - return true; -} - - static struct snd_soc_codec_driver soc_codec_dev_wm8962 = { .probe = wm8962_probe, .remove = wm8962_remove, .set_bias_level = wm8962_set_bias_level, .set_pll = wm8962_set_fll, - .reg_cache_size = WM8962_MAX_REGISTER, - .volatile_register = wm8962_soc_volatile, .idle_bias_off = true, };