From: Mark Brown Date: Wed, 29 Feb 2012 15:26:54 +0000 (+0000) Subject: ASoC: wm8994: Remove stub of register access code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62172f4a750e28c5573b3402c3fe3f029b5dd67b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: wm8994: Remove stub of register access code Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 691e89753a6a..bc1f1199a87f 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -3935,20 +3935,12 @@ static int wm8994_codec_remove(struct snd_soc_codec *codec) return 0; } -static int wm8994_soc_volatile(struct snd_soc_codec *codec, - unsigned int reg) -{ - return true; -} - static struct snd_soc_codec_driver soc_codec_dev_wm8994 = { .probe = wm8994_codec_probe, .remove = wm8994_codec_remove, .suspend = wm8994_suspend, .resume = wm8994_resume, .set_bias_level = wm8994_set_bias_level, - .reg_cache_size = WM8994_MAX_REGISTER, - .volatile_register = wm8994_soc_volatile, }; static int __devinit wm8994_probe(struct platform_device *pdev)