Skip to contentSkip to conversation

mmc: vt8500: Remove erroneous __exitp in wmt_mci_driver

PATCH In review Tony Prisk 2 participants 2 messages Jan 13, 2013 – Jan 28, 2013

Subsystems (2)
lore
Share & tools
lore

Tony Prisk

author
#0 lore raw

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.

---
 drivers/mmc/host/wmt-sdmmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/wmt-sdmmc.c +1 -1
index 154f0e8..c6d0015 100644
@@ -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
#1 lore raw

Hi Tony,

Quoted 14 lines · Tony Prisk

With the __devinit/__devexit attributes having been removed, this __exitp attribute causes an unused function warning and should be removed as well.

---
 drivers/mmc/host/wmt-sdmmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/wmt-sdmmc.c +0 -0
index 154f0e8..c6d0015 100644

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