summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/mc13xxx-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
index 1326e7f4263..a2ac2ed6d64 100644
--- a/drivers/mfd/mc13xxx-core.c
+++ b/drivers/mfd/mc13xxx-core.c
@@ -795,6 +795,8 @@ static int __devexit mc13xxx_remove(struct spi_device *spi)
mfd_remove_devices(&spi->dev);
+ kfree(mc13xxx);
+
return 0;
}