ASoC: wm8962: Clean up register dump cruft
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Feb 2012 08:46:05 +0000 (00:46 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 06:32:02 +0000 (22:32 -0800)
No longer needed with regmap.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8962.c

index 95a8b6aae22e526ea13de24d52444a6c7fca8ff1..c36178b3d44192723b0f7126b88e1abbcbb0b8c3 100644 (file)
@@ -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,
 };