Revert "clk: ti: dra7-atl: Fix leak of of_nodes"

This reverts commit a4db633e44.
This commit is contained in:
Ksawlii 2024-11-24 00:23:21 +01:00
parent 1bde9f1a58
commit c7e2c7a9a2

View file

@ -258,7 +258,6 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)
}
clk = of_clk_get_from_provider(&clkspec);
of_node_put(clkspec.np);
if (IS_ERR(clk)) {
pr_err("%s: failed to get atl clock %d from provider\n",
__func__, i);