summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2026-01-08 12:05:54 -0600
committerTom Rini <[email protected]>2026-01-21 13:25:40 -0600
commitec956adf378a4b3bf133a2c1b6614c4891743843 (patch)
tree9567861dc818d7e400548d77d91697f84c14f1de
parent141be72e2a9d43aa4e3d1a6a6e0ab8f9eb8784c6 (diff)
clk: clk-uclass: fix format specifier for ofnode name
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]>
-rw-r--r--drivers/clk/clk-uclass.c2
1 files changed, 1 insertions, 1 deletions
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;