From: Lars-Peter Clausen Date: Fri, 15 May 2015 10:32:53 +0000 (+0200) Subject: ASoC: sn95031: Replace direct snd_soc_codec dapm field access X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~38^2~1^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22310d320e352c5dd08b40bcabaefa62e71ed652;p=pandora-kernel.git ASoC: sn95031: 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(). While we are at it also replace the if(x == A) ... else if(x == B) ... construct with a switch-case. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed