[PATCH -next] gpio: Fix return value check in owl_gpio_probe()

Linus Walleij linus.walleij at linaro.org
Wed May 16 05:55:41 PDT 2018


On Mon, May 7, 2018 at 3:40 AM, Wei Yongjun <weiyongjun1 at huawei.com> wrote:

> In case of error, the function of_iomap() returns NULL pointer not
> ERR_PTR(). The IS_ERR() test in the return value check should be
> replaced with NULL test.
>
> Fixes: d3654d38809c ("gpio: Add gpio driver for Actions OWL S900 SoC")
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>

We dropped this driver from the GPIO tree in favor of an extended
pin control driver.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list