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 <dlechner@baylibre.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user