aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2021-06-21 20:08:28 +0200
committerNishanth Menon <[email protected]>2021-11-22 19:40:55 -0600
commit8aa35e0bb5eaa42bac415ad0847985daa7b4890c (patch)
treeeb7270ff11f7d9a05f6fcf539ce1dfbedc8527f7
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
soc: ti: pruss: fix referenced node in error message
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]
-rw-r--r--drivers/soc/ti/pruss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c
index 49da387d7749..b36779309e49 100644
--- a/drivers/soc/ti/pruss.c
+++ b/drivers/soc/ti/pruss.c
@@ -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;
}