Commit 9a463284 authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Lee Jones
Browse files

mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_chip_i2c()

htcpld_register_chip_i2c() misses to call i2c_put_adapter() in an error
path. Add the missed function call to fix it.

Fixes: 6048a3dd

 ("mfd: Add HTCPLD driver")
Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 4c5840b9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment