diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-11-28 08:50:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-02 11:49:36 +0000 |
commit | 2650bc4f6d0c36f1219d2070485cc2980a88fab3 (patch) | |
tree | d74287725a4178cab40928564c2253c5fdc60d57 /sound/soc/mxs/mxs-saif.c | |
parent | a22f33b00346f26d29483cdacdbf26df7947ef23 (diff) | |
download | op-kernel-dev-2650bc4f6d0c36f1219d2070485cc2980a88fab3.zip op-kernel-dev-2650bc4f6d0c36f1219d2070485cc2980a88fab3.tar.gz |
ASoC: mxs: Use devm_snd_dmaengine_pcm_register()
Makes the code shorter.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/mxs/mxs-saif.c')
-rw-r--r-- | sound/soc/mxs/mxs-saif.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index 54e622a..92db74d 100644 --- a/sound/soc/mxs/mxs-saif.c +++ b/sound/soc/mxs/mxs-saif.c @@ -804,13 +804,6 @@ static int mxs_saif_probe(struct platform_device *pdev) return 0; } -static int mxs_saif_remove(struct platform_device *pdev) -{ - mxs_pcm_platform_unregister(&pdev->dev); - - return 0; -} - static const struct of_device_id mxs_saif_dt_ids[] = { { .compatible = "fsl,imx28-saif", }, { /* sentinel */ } @@ -819,7 +812,6 @@ MODULE_DEVICE_TABLE(of, mxs_saif_dt_ids); static struct platform_driver mxs_saif_driver = { .probe = mxs_saif_probe, - .remove = mxs_saif_remove, .driver = { .name = "mxs-saif", |