Messages in this thread | | | From | Linus Walleij <> | Date | Wed, 14 Sep 2022 14:50:31 +0200 | Subject | Re: [PATCH] mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in htcpld_core_probe |
| |
On Tue, Sep 13, 2022 at 9:19 AM Peng Wu <wupeng58@huawei.com> 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@huawei.com>
Good catch! Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |