All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: txx9: Add __exit_p at necessary place
@ 2011-10-03  1:38 ` Axel Lin
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Lin @ 2011-10-03  1:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: Atsushi Nemoto, Brown, Liam Girdwood, alsa-devel, Mark

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 sound/soc/txx9/txx9aclc-generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/txx9/txx9aclc-generic.c b/sound/soc/txx9/txx9aclc-generic.c
index 6770e71..9b5e283 100644
--- a/sound/soc/txx9/txx9aclc-generic.c
+++ b/sound/soc/txx9/txx9aclc-generic.c
@@ -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,
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ASoC: txx9: Add __exit_p at necessary place
@ 2011-10-03  1:38 ` Axel Lin
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Lin @ 2011-10-03  1:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: Atsushi Nemoto, Liam Girdwood, Mark Brown, alsa-devel

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 sound/soc/txx9/txx9aclc-generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/txx9/txx9aclc-generic.c b/sound/soc/txx9/txx9aclc-generic.c
index 6770e71..9b5e283 100644
--- a/sound/soc/txx9/txx9aclc-generic.c
+++ b/sound/soc/txx9/txx9aclc-generic.c
@@ -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,
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: txx9: Add __exit_p at necessary place
  2011-10-03  1:38 ` Axel Lin
  (?)
@ 2011-10-03 13:15 ` Mark Brown
  -1 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-10-03 13:15 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Atsushi Nemoto, Liam Girdwood, alsa-devel

On Mon, Oct 03, 2011 at 09:38:32AM +0800, Axel Lin wrote:
> We have __exit annotation for txx9aclc_generic_remove(),
> thus add __devexit_p to wrap it.

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-03 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03  1:38 [PATCH] ASoC: txx9: Add __exit_p at necessary place Axel Lin
2011-10-03  1:38 ` Axel Lin
2011-10-03 13:15 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.