X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Fmfd%2Fmc13xxx-core.c;h=b801dc72f041a125fcf9a52e25e6d594ee052d92;hb=41494cbaeaed07a43e111b323d6da5e1d8dd7936;hp=f0ea3b8b3e4ad979d5e1d5fe53bde83a7392dfd2;hpb=221d3ebf3ad2c69704e21495e9a936c78d797732;p=cascardo%2Flinux.git diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c index f0ea3b8b3e4a..b801dc72f041 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);