[PATCH] clk: clk-prima2: fix return value check in prima2_clk_init()

Stephen Boyd sboyd at kernel.org
Tue Oct 13 22:54:39 EDT 2020


Quoting Xu Wang (2020-09-20 20:45:22)
> 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 at iscas.ac.cn>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list