mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
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]>