Explorar o código

ASoC: txx9: Add __exit_p at necessary place

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Axel Lin %!s(int64=14) %!d(string=hai) anos
pai
achega
f6a74ced46
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/soc/txx9/txx9aclc-generic.c

+ 1 - 1
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 = {
 static struct platform_driver txx9aclc_generic_driver = {
-	.remove = txx9aclc_generic_remove,
+	.remove = __exit_p(txx9aclc_generic_remove),
 	.driver = {
 	.driver = {
 		.name = "txx9aclc-generic",
 		.name = "txx9aclc-generic",
 		.owner = THIS_MODULE,
 		.owner = THIS_MODULE,