projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e0a89
)
mfd: Move asic3_remove to .devexit.text
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Thu, 1 Oct 2009 08:28:05 +0000
(10:28 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 13 Dec 2009 18:20:46 +0000
(19:20 +0100)
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>
drivers/mfd/asic3.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/asic3.c
b/drivers/mfd/asic3.c
index
63a2a66
..
e22128c
100644
(file)
--- 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);