Re: [PATCH -next] mmc: jz4740: Use PTR_ERR_OR_ZERO in jz4740_mmc_request_gpios()

Linus Walleij
2018-12-01T12:58:36Z

On Sat, Dec 1, 2018 at 2:37 AM YueHaibing <yuehaibing@huawei.com> wrote:

> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Ah, smart.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij