Re: [PATCH] clk: clk-atlas6: fix return value check in atlas6_clk_init()

From: Stephen Boyd
Date: Mon Jul 27 2020 - 21:22:08 EST


Quoting Xu Wang (2020-07-12 20:21:43)
> In case of error, the function clk_register() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check
> should be replaced with IS_ERR().
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
> ---

Applied to clk-next