summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/i2s.c
diff options
context:
space:
mode:
authorTushar Behera2014-05-21 05:22:18 +0200
committerMark Brown2014-05-22 01:20:11 +0200
commit55313bd3b09b68ce28e328e9dde79bfc389ea921 (patch)
tree323c56ef84abeca57625a853d77c1811b7122db8 /sound/soc/samsung/i2s.c
parentASoC: samsung: Use devm_snd_soc_register_card (diff)
downloadkernel-qcow2-linux-55313bd3b09b68ce28e328e9dde79bfc389ea921.tar.gz
kernel-qcow2-linux-55313bd3b09b68ce28e328e9dde79bfc389ea921.tar.xz
kernel-qcow2-linux-55313bd3b09b68ce28e328e9dde79bfc389ea921.zip
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 1e99071fb624..07ff3e7cb890 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;
}