diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-06-16 12:13:11 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-21 16:36:09 -0400 |
commit | 88a8fe3df65fa0229b04f1c03411062230091cdd (patch) | |
tree | acd0492c3050cb7b8fa4d44c459d34be8ecb9858 /sound/soc/soc-dapm.c | |
parent | 9420d97b3f8672478696ae9c3e33051243e1f4a0 (diff) |
ASoC: dapm: Remove platform field from widget and dapm context struct
The platform field in the snd_soc_dapm_widget and snd_soc_dapm_context structs
is now unused can be removed. New code that wants to get the platform for a
widget or dapm context should use snd_soc_dapm_to_platform(w->dapm) or
snd_soc_dapm_to_platform(dapm).
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 4702b926a6a0..4bf08cffd1f1 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -3097,7 +3097,6 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, | |||
3097 | 3097 | ||
3098 | w->dapm = dapm; | 3098 | w->dapm = dapm; |
3099 | w->codec = dapm->codec; | 3099 | w->codec = dapm->codec; |
3100 | w->platform = dapm->platform; | ||
3101 | INIT_LIST_HEAD(&w->sources); | 3100 | INIT_LIST_HEAD(&w->sources); |
3102 | INIT_LIST_HEAD(&w->sinks); | 3101 | INIT_LIST_HEAD(&w->sinks); |
3103 | INIT_LIST_HEAD(&w->list); | 3102 | INIT_LIST_HEAD(&w->list); |