mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 09:36:39 -04:00
Merge tag 'v6.20-rockchip-clk-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-rockchip
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user