ASoC: wm5100/wm8903/wm8996: Replace open-coded snd_soc_dapm_to_codec()
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 19 Jun 2014 05:50:01 +0000 (07:50 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 19 Jun 2014 09:55:38 +0000 (10:55 +0100)
We now have a generic helper function to cast from a DAPM context to a CODEC.
Make use of it in the places which previously open-coded it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found