ASoC: wm8995: Replace direct snd_soc_codec dapm field access
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 1 Jun 2015 08:11:01 +0000 (10:11 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 1 Jun 2015 15:45:43 +0000 (16:45 +0100)
commita01ddd388d4789af6124889d11cc27f6263a9af1
treedc25921d1b36ce21fc6b1e9a360c3969d4501fff
parent8e09bac78a48f738f3a180fe213198ab225c807e
ASoC: wm8995: Replace direct snd_soc_codec dapm field access

The dapm field of the snd_soc_codec struct is eventually going to be
removed, in preparation for this replace all manual access to
codec->dapm.bias_level with snd_soc_codec_get_bias_level() and replace all
other manual access to codec->dapm with snd_soc_codec_get_dapm().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8995.c