diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-05-15 13:32:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-15 18:48:56 +0300 |
commit | 22310d320e352c5dd08b40bcabaefa62e71ed652 (patch) | |
tree | d0b45bff793776cc12ea2721d81776eca51eac80 /drivers/firmware/dcdbas.c | |
parent | 45a110a1377d9f7afbbf53e351b72cf813ac426e (diff) | |
download | linux-22310d320e352c5dd08b40bcabaefa62e71ed652.tar.xz |
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 <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/firmware/dcdbas.c')
0 files changed, 0 insertions, 0 deletions