ASoC: Remove CODEC pointer from snd_soc_dapm_context
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 29 Sep 2014 09:40:42 +0000 (11:40 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Sep 2014 17:25:52 +0000 (18:25 +0100)
commit0bd2ac3dae74ee25c5ea171cb572731c7a89c248
tree8bbf4da4840acba3c1c19ad1ffd926624673eeb8
parenta761f87f367a2a172cbc62d0e88eabe175d349a8
ASoC: Remove CODEC pointer from snd_soc_dapm_context

The only remaining user of the CODEC pointer in the DAPM struct is to
initialize the CODEC pointer in the widget struct. The later is scheduled
for removal, but has still a few users left. For now use
dapm->component->codec to initialize it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c