Pull a Rockchip clk driver update from Heiko Stuebner:

Additional check for an error pointer and not only for NULL when a
gatelink is added.

* tag 'v6.20-rockchip-clk-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  clk: rockchip: Fix error pointer check after rockchip_clk_register_gate_link()
This commit is contained in:
Stephen Boyd
2026-02-02 11:03:30 -08:00

View File

@@ -693,7 +693,7 @@ void rockchip_clk_register_late_branches(struct device *dev,
break;
}
if (!pdev)
if (IS_ERR_OR_NULL(pdev))
dev_err(dev, "failed to register device for clock %s\n", list->name);
}
}