Skip to content

Commit

Permalink
soc: ti: pruss: fix referenced node in error message
Browse files Browse the repository at this point in the history
[ Upstream commit 8aa35e0 ]

So far, "(null)" is reported for the node that is missing clocks.

Signed-off-by: Jan Kiszka <[email protected]>
Acked-by: Suman Anna <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
jan-kiszka authored and gregkh committed Jan 27, 2022
1 parent f94cf1c commit b019927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/soc/ti/pruss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
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;
}

Expand Down

0 comments on commit b019927

Please sign in to comment.