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 /include/sound/soc-dapm.h | |
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 'include/sound/soc-dapm.h')
-rw-r--r-- | include/sound/soc-dapm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index e292683ee694..aac04ff84eea 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h | |||
@@ -526,7 +526,6 @@ struct snd_soc_dapm_widget { | |||
526 | const char *name; /* widget name */ | 526 | const char *name; /* widget name */ |
527 | const char *sname; /* stream name */ | 527 | const char *sname; /* stream name */ |
528 | struct snd_soc_codec *codec; | 528 | struct snd_soc_codec *codec; |
529 | struct snd_soc_platform *platform; | ||
530 | struct list_head list; | 529 | struct list_head list; |
531 | struct snd_soc_dapm_context *dapm; | 530 | struct snd_soc_dapm_context *dapm; |
532 | 531 | ||
@@ -595,7 +594,6 @@ struct snd_soc_dapm_context { | |||
595 | struct device *dev; /* from parent - for debug */ | 594 | struct device *dev; /* from parent - for debug */ |
596 | struct snd_soc_component *component; /* parent component */ | 595 | struct snd_soc_component *component; /* parent component */ |
597 | struct snd_soc_codec *codec; /* parent codec */ | 596 | struct snd_soc_codec *codec; /* parent codec */ |
598 | struct snd_soc_platform *platform; /* parent platform */ | ||
599 | struct snd_soc_card *card; /* parent card */ | 597 | struct snd_soc_card *card; /* parent card */ |
600 | 598 | ||
601 | /* used during DAPM updates */ | 599 | /* used during DAPM updates */ |