Commit f6a74ced authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1c6927f8
...@@ -62,7 +62,7 @@ static int __exit txx9aclc_generic_remove(struct platform_device *pdev) ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment