Files
linux/drivers
Charles Keepax 2543ef3173 regulator: arizona-micsupp: Avoid potential memory leak reading init_data
The device argument passed to of_get_regulator_init_data is used to
do some devres memory allocation. Currently the driver passes the MFD
device pointer to this function, this could result in the init_data
allocation being leaked if the regulator is unbound but the MFD isn't.

Correct this issue by correctly passing the local platform device.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-03-29 17:27:32 +01:00
..
2016-12-05 14:53:46 -05:00
2016-11-16 20:46:32 +01:00
2016-09-27 12:33:47 +02:00
2016-12-09 23:08:32 -05:00
2016-11-16 12:39:57 -07:00
2016-11-29 16:43:24 +01:00
2016-11-01 09:04:04 -06:00