commit | 8c66eeced1989c98104783832ab445305fa8c7a3 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | Tue Mar 18 13:57:50 2014 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Wed Mar 19 09:00:08 2014 +0000 |
tree | 04d24dd2e725a75bf5e234369b5f3846b0f10541 | |
parent | 53c31b3437a6400c6ffc2c9315680217ad84cb6d [diff] |
mfd: sec-core: Fix I2C dummy device resource leak on probe failure 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@samsung.com> Reviewed-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>