Re: [PATCH v2] mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_chip_i2c()

From: Lee Jones
Date: Wed Nov 11 2020 - 11:28:59 EST


On Fri, 06 Nov 2020, Jing Xiangfeng wrote:

> htcpld_register_chip_i2c() misses to call i2c_put_adapter() in an error
> path. Add the missed function call to fix it.
>
> Fixes: 6048a3dd2371 ("mfd: Add HTCPLD driver")
> Signed-off-by: Jing Xiangfeng <jingxiangfeng@xxxxxxxxxx>
> ---
> v2:
> - add the tag Fixes
>
> ---
> drivers/mfd/htc-i2cpld.c | 2 ++
> 1 file changed, 2 insertions(+)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog