ASoC: sirf-audio-codec: Replace w->codec snd_soc_dapm_to_codec(w->dapm)
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 20 Nov 2014 20:28:15 +0000 (21:28 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 21 Nov 2014 18:15:43 +0000 (18:15 +0000)
commit335ca471eebf130d88cb94c1192568b6c75aa9b0
treed61444a929e711c855e0245d6dacf62649014f96
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: sirf-audio-codec: Replace w->codec snd_soc_dapm_to_codec(w->dapm)

The codec field of the snd_soc_widget struct is eventually going to be
removed, use snd_soc_dapm_to_codec(w->dapm) instead.

While we are at it also replace dev_get_drvdata() with snd_soc_codec_get_drvdata().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sirf-audio-codec.c