Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clk: clk-prima2: fix return value check in prima2_clk_init()
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Barry Song <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
- Loading branch information