ASoC: factor out soc_remove_platform()
authorStephen Warren <swarren@nvidia.com>
Fri, 8 Jun 2012 18:34:22 +0000 (12:34 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Jun 2012 12:18:04 +0000 (13:18 +0100)
commitd12cd198cba7949c70f596296297b772063175c0
treed44fc3b5fe01e3b333229fcd1967f029a863ceb6
parent18d756440e8ed292b772682c4440a9d33643225b
ASoC: factor out soc_remove_platform()

This change simply factors out part of soc_remove_dai_link() into a
standalone function. This makes platform and CODEC removal much more
similar at the call-sites.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c