[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1358345753-31557-1-git-send-email-peter.ujfalusi@ti.com>
Date: Wed, 16 Jan 2013 15:15:53 +0100
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: Samuel Ortiz <sameo@...ux.intel.com>
CC: <linux-kernel@...r.kernel.org>, Bill Pemberton <wfp5p@...ginia.edu>
Subject: [PATCH] mfd: twl4030-madc: Remove leftover __exit_p()
__exit_p() need to be removed after the __devexit removal from the driver.
Fixes the following compile time warning:
drivers/mfd/twl4030-madc.c:788:12: warning: ?twl4030_madc_remove? defined but not used [-Wunused-function]
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
---
drivers/mfd/twl4030-madc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c
index 88ff9dc..942b666 100644
--- a/drivers/mfd/twl4030-madc.c
+++ b/drivers/mfd/twl4030-madc.c
@@ -800,7 +800,7 @@ static int twl4030_madc_remove(struct platform_device *pdev)
static struct platform_driver twl4030_madc_driver = {
.probe = twl4030_madc_probe,
- .remove = __exit_p(twl4030_madc_remove),
+ .remove = twl4030_madc_remove,
.driver = {
.name = "twl4030_madc",
.owner = THIS_MODULE,
--
1.8.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists