提交 9deee319 编写于 作者: R Rob Herring 提交者: Arnd Bergmann

firmware: Convert to using %pOF instead of full_name

Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.
Signed-off-by: NRob Herring <robh@kernel.org>
Acked-by: NSudeep Holla <sudeep.holla@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 aae4e7a8
...@@ -965,7 +965,7 @@ static int scpi_probe(struct platform_device *pdev) ...@@ -965,7 +965,7 @@ static int scpi_probe(struct platform_device *pdev)
count = of_count_phandle_with_args(np, "mboxes", "#mbox-cells"); count = of_count_phandle_with_args(np, "mboxes", "#mbox-cells");
if (count < 0) { if (count < 0) {
dev_err(dev, "no mboxes property in '%s'\n", np->full_name); dev_err(dev, "no mboxes property in '%pOF'\n", np);
return -ENODEV; return -ENODEV;
} }
......
...@@ -280,8 +280,8 @@ static int psci_dt_cpu_init_idle(struct device_node *cpu_node, int cpu) ...@@ -280,8 +280,8 @@ static int psci_dt_cpu_init_idle(struct device_node *cpu_node, int cpu)
"arm,psci-suspend-param", "arm,psci-suspend-param",
&state); &state);
if (ret) { if (ret) {
pr_warn(" * %s missing arm,psci-suspend-param property\n", pr_warn(" * %pOF missing arm,psci-suspend-param property\n",
state_node->full_name); state_node);
of_node_put(state_node); of_node_put(state_node);
goto free_mem; goto free_mem;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册