Skip to content

Commit

Permalink
ASoC: wm8994: Remove stub of register access code
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Feb 29, 2012
1 parent e778ba0 commit 62172f4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 62172f4

Please sign in to comment.