Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_…
…chip_i2c() [ Upstream commit 9a46328 ] htcpld_register_chip_i2c() misses to call i2c_put_adapter() in an error path. Add the missed function call to fix it. Fixes: 6048a3d ("mfd: Add HTCPLD driver") Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information