diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-03 10:31:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-03 13:17:07 +0100 |
commit | 2a374b78f5c2b5f31d35f8a7cd004989d6936756 (patch) | |
tree | e8883011d325f0090c751a14da2aae1d3e98336e /include/sound/soc-dai.h | |
parent | ASoC: Remove snd_soc_platform_driver suspend/resume callbacks (diff) | |
download | linux-2a374b78f5c2b5f31d35f8a7cd004989d6936756.tar.xz linux-2a374b78f5c2b5f31d35f8a7cd004989d6936756.zip |
ASoC: Remove platform field from snd_soc_dai
Typically a DAI does not need direct access to the platform. Currently the
only user of this field is in a platform driver where we have a more direct
way of getting a pointer to the platform. This patch updates the driver to
use the more direct way and then removes the platform field from the
snd_soc_dai struct.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-dai.h')
-rw-r--r-- | include/sound/soc-dai.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index e8b3080d196a..45d0fa10ab9e 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -268,7 +268,6 @@ struct snd_soc_dai { unsigned int sample_bits; /* parent platform/codec */ - struct snd_soc_platform *platform; struct snd_soc_codec *codec; struct snd_soc_component *component; |