diff options
author | 2014-09-29 11:40:42 +0200 | |
---|---|---|
committer | 2014-09-29 18:25:52 +0100 | |
commit | 0bd2ac3dae74ee25c5ea171cb572731c7a89c248 (patch) | |
tree | 8bbf4da4840acba3c1c19ad1ffd926624673eeb8 /include/sound | |
parent | ASoC: rx51: Use snd_soc_dapm_to_codec() instead of dapm->codec (diff) | |
download | linux-0bd2ac3dae74ee25c5ea171cb572731c7a89c248.tar.gz linux-0bd2ac3dae74ee25c5ea171cb572731c7a89c248.tar.bz2 linux-0bd2ac3dae74ee25c5ea171cb572731c7a89c248.zip |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index aac04ff84eea..d60c61b4b341 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -593,7 +593,6 @@ struct snd_soc_dapm_context { struct device *dev; /* from parent - for debug */ struct snd_soc_component *component; /* parent component */ - struct snd_soc_codec *codec; /* parent codec */ struct snd_soc_card *card; /* parent card */ /* used during DAPM updates */ |