ASoC: rx51: Use snd_soc_dapm_to_codec() instead of dapm->codec
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 29 Sep 2014 09:40:41 +0000 (11:40 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Sep 2014 17:25:43 +0000 (18:25 +0100)
commita761f87f367a2a172cbc62d0e88eabe175d349a8
tree115825a414171ceddaa00bf660781fc24afc2ea6
parent9cca023e5c5c13486d48d47a46564c359af9ae73
ASoC: rx51: Use snd_soc_dapm_to_codec() instead of dapm->codec

The CODEC struct in the snd_soc_dapm_context struct is deprecated and
scheduled for removal. Use the snd_soc_dapm_to_codec() function instead.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/rx51.c