diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2014-05-21 08:52:18 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-22 00:20:11 +0100 |
commit | 55313bd3b09b68ce28e328e9dde79bfc389ea921 (patch) | |
tree | 323c56ef84abeca57625a853d77c1811b7122db8 /sound/soc/samsung/spdif.c | |
parent | c583883ecdca277c258c95dc8c711dfb76d23b40 (diff) |
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/spdif.c')
-rw-r--r-- | sound/soc/samsung/spdif.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c index cfe63b7bcc9f..7d89d016fa49 100644 --- a/sound/soc/samsung/spdif.c +++ b/sound/soc/samsung/spdif.c @@ -467,7 +467,6 @@ static int spdif_remove(struct platform_device *pdev) struct samsung_spdif_info *spdif = &spdif_info; struct resource *mem_res; - samsung_asoc_dma_platform_unregister(&pdev->dev); snd_soc_unregister_component(&pdev->dev); iounmap(spdif->regs); |