Commit 8aa35e0b authored by Jan Kiszka's avatar Jan Kiszka Committed by Nishanth Menon

soc: ti: pruss: fix referenced node in error message

So far, "(null)" is reported for the node that is missing clocks.
Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Acked-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/d6e24953-ea89-fd1c-6e16-7a0142118054@siemens.com
parent fa55b7dc
...@@ -129,7 +129,7 @@ static int pruss_clk_init(struct pruss *pruss, struct device_node *cfg_node) ...@@ -129,7 +129,7 @@ static int pruss_clk_init(struct pruss *pruss, struct device_node *cfg_node)
clks_np = of_get_child_by_name(cfg_node, "clocks"); clks_np = of_get_child_by_name(cfg_node, "clocks");
if (!clks_np) { if (!clks_np) {
dev_err(dev, "%pOF is missing its 'clocks' node\n", clks_np); dev_err(dev, "%pOF is missing its 'clocks' node\n", cfg_node);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment