Skip to contentSkip to conversation

Patch "ASoC: davinci-evm: drop un-necessary remove function" has been added to the 3.14-stable tree

PATCH [email protected] 1 participant 1 message May 2, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ASoC: davinci-evm: drop un-necessary remove function

to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
asoc-davinci-evm-drop-un-necessary-remove-function.patch
and it can be found in the queue-3.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From a57069e33fbc6625f39e1b09c88ea44629a35206 Mon Sep 17 00:00:00 2001

From: Manish Badarkhe <[email protected]>
Date: Thu, 26 Mar 2015 15:38:25 +0200
Subject: ASoC: davinci-evm: drop un-necessary remove function

From: Manish Badarkhe <[email protected]>

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)
---
 sound/soc/davinci/davinci-evm.c |   10 ----------
 1 file changed, 10 deletions(-)
sound/soc/davinci/davinci-evm.c +0 -10
@@ -384,18 +384,8 @@ static int davinci_evm_probe(struct plat
 	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",
 		.owner	= THIS_MODULE,

Patches currently in stable-queue which might be from [email protected] are

queue-3.14/asoc-davinci-evm-drop-un-necessary-remove-function.patch