summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/i2s.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-05-21 03:22:18 (GMT)
committerMark Brown <broonie@linaro.org>2014-05-21 23:20:11 (GMT)
commit55313bd3b09b68ce28e328e9dde79bfc389ea921 (patch)
tree323c56ef84abeca57625a853d77c1811b7122db8 /sound/soc/samsung/i2s.c
parentc583883ecdca277c258c95dc8c711dfb76d23b40 (diff)
downloadlinux-55313bd3b09b68ce28e328e9dde79bfc389ea921.tar.xz
ASoC: samsung: Use devm_snd_soc_register_platform
Replaced snd_soc_register_platform with devm_snd_soc_register_platform in samsung_asoc_dma_platform_register(). This makes the function samsung_asoc_dma_platform_unregister() redundant. This is removed and all its users are updated. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/samsung/i2s.c')
-rw-r--r--sound/soc/samsung/i2s.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index 1e99071..07ff3e7 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -1295,8 +1295,6 @@ static int samsung_i2s_remove(struct platform_device *pdev)
i2s->pri_dai = NULL;
i2s->sec_dai = NULL;
- samsung_asoc_dma_platform_unregister(&pdev->dev);
-
return 0;
}