ASoC: wm8994: Replace direct snd_soc_codec dapm field access
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 1 Jun 2015 08:11:00 +0000 (10:11 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 1 Jun 2015 15:45:40 +0000 (16:45 +0100)
commit8e09bac78a48f738f3a180fe213198ab225c807e
treef8b2571dc7473e33813f511efdaedbe008ddf815
parentf8ae3cf81fb866a0d91e3319f53d6ed0a599616e
ASoC: wm8994: 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/wm8994.c