aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski2014-03-18 13:57:50 +0100
committerLee Jones2014-03-19 09:00:08 +0000
commit8c66eeced1989c98104783832ab445305fa8c7a3 (patch)
tree04d24dd2e725a75bf5e234369b5f3846b0f10541 /scripts
parent53c31b3437a6400c6ffc2c9315680217ad84cb6d (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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions