diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-03 04:31:48 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-03 07:17:07 -0500 |
commit | 2a374b78f5c2b5f31d35f8a7cd004989d6936756 (patch) | |
tree | e8883011d325f0090c751a14da2aae1d3e98336e /include/sound/soc-dai.h | |
parent | dd63a9c2952ed142c64fd68c1a74d0d6fcac586f (diff) |
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 { | |||
268 | unsigned int sample_bits; | 268 | unsigned int sample_bits; |
269 | 269 | ||
270 | /* parent platform/codec */ | 270 | /* parent platform/codec */ |
271 | struct snd_soc_platform *platform; | ||
272 | struct snd_soc_codec *codec; | 271 | struct snd_soc_codec *codec; |
273 | struct snd_soc_component *component; | 272 | struct snd_soc_component *component; |
274 | 273 | ||