mmc: vt8500: Remove erroneous __exitp in wmt_mci_driver
Subsystems (2)
PATCH 1/1 mmc: vt8500: Remove erroneous __exitp in wmt_mci_driver
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 <[email protected]>
--- drivers/mmc/host/wmt-sdmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/wmt-sdmmc.c +1 -1
@@ -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 ,
Signature · 1 line
1.7.9.5
Hi Tony,
Quoted 14 lines · Tony Prisk
With the __devinit/__devexit attributes having been removed, this
__exitpattribute causes an unused function warning and should be removed as well.Signed-off-by Tony Prisk <[email protected]>--- drivers/mmc/host/wmt-sdmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/wmt-sdmmc.c +0
-0
drivers/mmc/host/wmt-sdmmc.c static const struct dev_pm_ops wmt_mci_pm = { · line 1018
Quoted 8 lines
drivers/mmc/host/wmt-sdmmc.c +1
-1@@ -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 ,
Thanks, pushed to mmc-next for 3.9.
- Chris.
Signature · 2 lines
Chris Ball <[email protected]> <http://printf.net/> One Laptop Per Child