projects
/
openwrt
/
staging
/
blogic.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 63a2a6632106c3ad50a6ecbbb58e6ba80b11ba35..e22128c3e9a8a426825337eb5f2aadb5945f6ad2 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);