Commit cef92fe6 authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz

mfd: Fix a memory leak when unload mc13xxx-core module

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 7484552e
......@@ -795,6 +795,8 @@ static int __devexit mc13xxx_remove(struct spi_device *spi)
mfd_remove_devices(&spi->dev);
kfree(mc13xxx);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment