Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

parent 7484552e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -795,6 +795,8 @@ static int __devexit mc13xxx_remove(struct spi_device *spi)

	mfd_remove_devices(&spi->dev);

	kfree(mc13xxx);

	return 0;
}