summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mc13xxx-core.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-29 15:14:36 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:08 +0200
commite7c706b1e5ccf28eaaf76c7a4613e80b0ca52863 (patch)
tree70e260841527b64e699bbc41d907fdc10cd332f6 /drivers/mfd/mc13xxx-core.c
parente4ecf6ea84d68aea5a9785e89f52672e1e126998 (diff)
mfd: Use devm_* APIs for mc13xxx
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/mc13xxx-core.c')
-rw-r--r--drivers/mfd/mc13xxx-core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
index f0ea3b8b3e4..b801dc72f04 100644
--- a/drivers/mfd/mc13xxx-core.c
+++ b/drivers/mfd/mc13xxx-core.c
@@ -723,10 +723,6 @@ void mc13xxx_common_cleanup(struct mc13xxx *mc13xxx)
free_irq(mc13xxx->irq, mc13xxx);
mfd_remove_devices(mc13xxx->dev);
-
- regmap_exit(mc13xxx->regmap);
-
- kfree(mc13xxx);
}
EXPORT_SYMBOL_GPL(mc13xxx_common_cleanup);