Re: [PATCH] mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in htcpld_core_probe

From: Lee Jones
Date: Wed Sep 28 2022 - 06:32:45 EST


On Tue, 13 Sep 2022, Peng Wu wrote:

> The gpiochip_request_own_desc() function returns error pointers on error,
> it doesn't return NULL.
>
> Fixes: 0ef5164a81fbf ("mfd/omap1: htc-i2cpld: Convert to a pure GPIO driver")
> Signed-off-by: Peng Wu <wupeng58@xxxxxxxxxx>
> ---
> drivers/mfd/htc-i2cpld.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]