Re: [PATCH] mfd: sec-core: Fix I2C dummy device resource leak on probe failure
From: Sachin Kamat
Date: Tue Mar 18 2014 - 23:47:07 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>
--
With warm regards,
Sachin
--
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/