ASoC: txx9: Add __exit_p at necessary place
authorAxel Lin <axel.lin@gmail.com>
Mon, 3 Oct 2011 01:38:32 +0000 (09:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 3 Oct 2011 13:15:40 +0000 (14:15 +0100)
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>
sound/soc/txx9/txx9aclc-generic.c

index 6770e7166be4b77ae3427cbd3aba16b3b4694489..9b5e283af51c68e2611dadbbaeae4cd9db9a9ea6 100644 (file)
@@ -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,