Skip to content
Snippets Groups Projects
Commit cef92fe6 authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -795,6 +795,8 @@ static int __devexit mc13xxx_remove(struct spi_device *spi)
mfd_remove_devices(&spi->dev);
kfree(mc13xxx);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment