Skip to contentSkip to conversation

ASoC: txx9: Add __exit_p at necessary place

PATCH Applied Axel Lin 2 participants 2 messages Oct 3, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: txx9: Add __exit_p at necessary place

We have __exit annotation for txx9aclc_generic_remove(), thus add __devexit_p to wrap it.

---
 sound/soc/txx9/txx9aclc-generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/txx9/txx9aclc-generic.c +1 -1
index 6770e71..9b5e283 100644
@@ -62,7 +62,7 @@ static int __exit txx9aclc_generic_remove(struct platform_device *pdev)
 }
 
 static struct platform_driver txx9aclc_generic_driver = {
-	.remove = txx9aclc_generic_remove,
+	.remove = __exit_p(txx9aclc_generic_remove),
 	.driver = {
 		.name = "txx9aclc-generic",
 		.owner = THIS_MODULE,
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

We have __exit annotation for txx9aclc_generic_remove(), thus add __devexit_p to wrap it.

Applied, thanks.