Re: [PATCH] mfd: sec-core: Fix I2C dummy device resource leak on probe failure

From: Lee Jones
Date: Wed Mar 19 2014 - 04:37:38 EST


> On 18 March 2014 18:27, Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> wrote:
> > Dummy I2C device allocated in sec_pmic_probe() leaked if
> > devm_regmap_init_i2c() failed. Unregister it before returning from
> > probe.
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
>
> Looks good.
> Reviewed-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>

Applied with Sachin's Ack.

--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/