OSDN Git Service

mmc: vt8500: Remove erroneous __exitp in wmt_mci_driver
authorTony Prisk <linux@prisktech.co.nz>
Sun, 13 Jan 2013 06:19:20 +0000 (19:19 +1300)
committerChris Ball <cjb@laptop.org>
Sun, 24 Feb 2013 19:36:56 +0000 (14:36 -0500)
With the __devinit/__devexit attributes having been removed, this
__exitp attribute causes an unused function warning and should be
removed as well.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/wmt-sdmmc.c

index 154f0e8..c6d0015 100644 (file)
@@ -1012,7 +1012,7 @@ static const struct dev_pm_ops wmt_mci_pm = {
 
 static struct platform_driver wmt_mci_driver = {
        .probe = wmt_mci_probe,
-       .remove = __exit_p(wmt_mci_remove),
+       .remove = wmt_mci_remove,
        .driver = {
                .name = DRIVER_NAME,
                .owner = THIS_MODULE,