Change the format specifier from %p to %s when printing the ofnode name so that the actual name is printed instead of the pointer address.
Signed-off-by: David Lechner <[email protected]> --- drivers/clk/clk-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index 0584429bed6..0e56d207b0e 100644 --- a/drivers/clk/clk-uclass.c +++ b/drivers/clk/clk-uclass.c @@ -410,7 +410,7 @@ int clk_get_by_name_nodev(ofnode node, const char *name, struct clk *clk) { int index = 0; - debug("%s(node=%p, name=%s, clk=%p)\n", __func__, + debug("%s(node=%s, name=%s, clk=%p)\n", __func__, ofnode_get_name(node), name, clk); clk->dev = NULL; -- 2.43.0

