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/s3c24xx-i2s.c | |
parent | c583883ecdca277c258c95dc8c711dfb76d23b40 (diff) | |
download | linux-55313bd3b09b68ce28e328e9dde79bfc389ea921.tar.bz2 |
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/s3c24xx-i2s.c')
-rw-r--r-- | sound/soc/samsung/s3c24xx-i2s.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c index d7b8457b5650..8380443b1b39 100644 --- a/sound/soc/samsung/s3c24xx-i2s.c +++ b/sound/soc/samsung/s3c24xx-i2s.c @@ -496,7 +496,6 @@ err: static int s3c24xx_iis_dev_remove(struct platform_device *pdev) { - samsung_asoc_dma_platform_unregister(&pdev->dev); snd_soc_unregister_component(&pdev->dev); return 0; } |