Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <jan.kiszka@siemens.com>
Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/d6e24953-ea89-fd1c-6e16-7a0142118054@siemens.com

authored by

Jan Kiszka and committed by
Nishanth Menon
8aa35e0b fa55b7dc

+1 -1
+1 -1
drivers/soc/ti/pruss.c
··· 129 129 130 130 clks_np = of_get_child_by_name(cfg_node, "clocks"); 131 131 if (!clks_np) { 132 - dev_err(dev, "%pOF is missing its 'clocks' node\n", clks_np); 132 + dev_err(dev, "%pOF is missing its 'clocks' node\n", cfg_node); 133 133 return -ENODEV; 134 134 } 135 135