Re: [PATCH 2/2] mfd: tps65910: Fix regmap_irq_chip_data leak on mfd_add_devices fail

2014-03-19 Thread Lee Jones
> The tps65910_i2c_probe() allocates regmap_irq_chip in > tps65910_irq_init() but it does not clean this up in case of > mfd_add_devices() failure. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/tps65910.c |1 + > 1 file changed, 1 insertion(+) Applied, thanks. -- Lee Jones Li

[PATCH 2/2] mfd: tps65910: Fix regmap_irq_chip_data leak on mfd_add_devices fail

2014-03-12 Thread Krzysztof Kozlowski
The tps65910_i2c_probe() allocates regmap_irq_chip in tps65910_irq_init() but it does not clean this up in case of mfd_add_devices() failure. Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/tps65910.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/