]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: clk-uclass: fix format specifier for ofnode name
authorDavid Lechner <dlechner@baylibre.com>
Thu, 8 Jan 2026 18:05:54 +0000 (12:05 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 21 Jan 2026 19:25:40 +0000 (13:25 -0600)
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 <dlechner@baylibre.com>
drivers/clk/clk-uclass.c

index 0584429bed65effd7c5914d9d88646235db9280a..0e56d207b0eb792b2dfd0a2662051b7ba3a6e7ee 100644 (file)
@@ -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;