[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YzQiwMwgAZMIH0qF@google.com>
Date: Wed, 28 Sep 2022 11:32:32 +0100
From: Lee Jones <lee@...nel.org>
To: Peng Wu <wupeng58@...wei.com>
Cc: linus.walleij@...aro.org, linux-kernel@...r.kernel.org,
liwei391@...wei.com
Subject: Re: [PATCH] mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in
htcpld_core_probe
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@...wei.com>
> ---
> drivers/mfd/htc-i2cpld.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists