aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-vcif.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-04-22 14:03:12 +0300
committerMark Brown <broonie@linaro.org>2014-04-22 12:51:22 +0100
commit70e7a023cc9e9afafe503fa5533323ffe7091604 (patch)
tree521c50a76a32e39c38d21ad9927812f7b5574d90 /sound/soc/davinci/davinci-vcif.c
parentASoC: davinci-mcasp: Update MCASP_VERSION_4 platform driver registration (diff)
downloadlinux-dev-70e7a023cc9e9afafe503fa5533323ffe7091604.tar.xz
linux-dev-70e7a023cc9e9afafe503fa5533323ffe7091604.zip
ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform()
Remove the cleanup code related to the platform from the DAI drivers at the same time to avoid breakage. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/davinci/davinci-vcif.c')
-rw-r--r--sound/soc/davinci/davinci-vcif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-vcif.c b/sound/soc/davinci/davinci-vcif.c
index 30587c0cdbd2..77aef05588c3 100644
--- a/sound/soc/davinci/davinci-vcif.c
+++ b/sound/soc/davinci/davinci-vcif.c
@@ -258,7 +258,6 @@ static int davinci_vcif_probe(struct platform_device *pdev)
static int davinci_vcif_remove(struct platform_device *pdev)
{
snd_soc_unregister_component(&pdev->dev);
- davinci_soc_platform_unregister(&pdev->dev);
return 0;
}