aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/samsung/s3c2412-i2s.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-05-21 08:52:18 +0530
committerMark Brown <broonie@linaro.org>2014-05-22 00:20:11 +0100
commit55313bd3b09b68ce28e328e9dde79bfc389ea921 (patch)
tree323c56ef84abeca57625a853d77c1811b7122db8 /sound/soc/samsung/s3c2412-i2s.c
parentASoC: samsung: Use devm_snd_soc_register_card (diff)
downloadwireguard-linux-55313bd3b09b68ce28e328e9dde79bfc389ea921.tar.xz
wireguard-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/s3c2412-i2s.c')
-rw-r--r--sound/soc/samsung/s3c2412-i2s.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c
index e9bb5d7a71ee..f42da8df3e3c 100644
--- a/sound/soc/samsung/s3c2412-i2s.c
+++ b/sound/soc/samsung/s3c2412-i2s.c
@@ -192,7 +192,6 @@ err:
static int s3c2412_iis_dev_remove(struct platform_device *pdev)
{
- samsung_asoc_dma_platform_unregister(&pdev->dev);
snd_soc_unregister_component(&pdev->dev);
return 0;
}