On Fri, 20 Dec 2013, Krzysztof Kozlowski wrote: > The regmap used by max77686 MFD driver was not freed with regmap_exit() > on driver exit. This lead to leak of resources. > > Replace regmap_init_i2c() call in driver probe with initialization of > managed register map so the regmap will be properly freed by the device > management code. > > Signed-off-by: Krzysztof Kozlowski <[email protected]> > Cc: Kyungmin Park <[email protected]> > Cc: Marek Szyprowski <[email protected]> > Cc: [email protected] > --- > drivers/mfd/max77686.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Always happy to move to managed resources. Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

