summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/asic3.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-10-01 10:28:05 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 19:20:46 +0100
commit1e3edaf6c097e97bc4f55273f77ba1d4fed18471 (patch)
treec3c4ce27bf6f2a86bcd63d6f34436849312b67d3 /drivers/mfd/asic3.c
parentd4e0a89e3d170affa896efcdb4320e38a2f3a546 (diff)
downloadlinux-1e3edaf6c097e97bc4f55273f77ba1d4fed18471.tar.gz
linux-1e3edaf6c097e97bc4f55273f77ba1d4fed18471.tar.bz2
linux-1e3edaf6c097e97bc4f55273f77ba1d4fed18471.zip
mfd: Move asic3_remove to .devexit.text
The function asic3_remove is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/asic3.c')
-rw-r--r--drivers/mfd/asic3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index 63a2a6632106..e22128c3e9a8 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -908,7 +908,7 @@ static int __init asic3_probe(struct platform_device *pdev)
return ret;
}
-static int asic3_remove(struct platform_device *pdev)
+static int __devexit asic3_remove(struct platform_device *pdev)
{
int ret;
struct asic3 *asic = platform_get_drvdata(pdev);