aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorManish Badarkhe <manishvb@ti.com>2015-03-26 15:38:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-06 22:03:56 +0200
commitf7a469cdb54b146db35083f167e9f844ffc31f0c (patch)
tree8693928d8eb5f599de32e2bf9713f191f2529e6a /sound
parentd9493a0723e5a23b0250f43ea5e6d8ed66e1a343 (diff)
ASoC: davinci-evm: drop un-necessary remove function
commit a57069e33fbc6625f39e1b09c88ea44629a35206 upstream. As davinci card gets registered using 'devm_' api there is no need to unregister the card in 'remove' function. Hence drop the 'remove' function. Fixes: ee2f615d6e59c (ASoC: davinci-evm: Add device tree binding) Signed-off-by: Manish Badarkhe <manishvb@ti.com> Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/davinci/davinci-evm.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index b6bb5947a8a8..8c2b9be80a9a 100644
--- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c
@@ -425,18 +425,8 @@ static int davinci_evm_probe(struct platform_device *pdev)
return ret;
}
-static int davinci_evm_remove(struct platform_device *pdev)
-{
- struct snd_soc_card *card = platform_get_drvdata(pdev);
-
- snd_soc_unregister_card(card);
-
- return 0;
-}
-
static struct platform_driver davinci_evm_driver = {
.probe = davinci_evm_probe,
- .remove = davinci_evm_remove,
.driver = {
.name = "davinci_evm",
.pm = &snd_soc_pm_ops,