projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71c8fd
)
regulator: anatop: Use correct __devexit_p annotation
author
Axel Lin
<axel.lin@gmail.com>
Wed, 23 May 2012 01:08:08 +0000
(09:08 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 4 Jun 2012 09:42:49 +0000
(10:42 +0100)
__devexit functions are discarded when CONFIG_HOTPLUG
is not set, so the symbol needs to be referenced carefully.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/anatop-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/anatop-regulator.c
b/drivers/regulator/anatop-regulator.c
index
3660bac
..
e82e7ea
100644
(file)
--- a/
drivers/regulator/anatop-regulator.c
+++ b/
drivers/regulator/anatop-regulator.c
@@
-224,7
+224,7
@@
static struct platform_driver anatop_regulator_driver = {
.of_match_table = of_anatop_regulator_match_tbl,
},
.probe = anatop_regulator_probe,
- .remove =
anatop_regulator_remove
,
+ .remove =
__devexit_p(anatop_regulator_remove)
,
};
static int __init anatop_regulator_init(void)