ASoC: Remove platform field from snd_soc_dai
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 3 Nov 2014 09:31:48 +0000 (10:31 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 3 Nov 2014 12:17:07 +0000 (12:17 +0000)
commit2a374b78f5c2b5f31d35f8a7cd004989d6936756
treee8883011d325f0090c751a14da2aae1d3e98336e
parentdd63a9c2952ed142c64fd68c1a74d0d6fcac586f
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>
include/sound/soc-dai.h
sound/soc/soc-core.c
sound/soc/txx9/txx9aclc.c