summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/arm_scpi.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-07-18 23:43:01 +0200
committerArnd Bergmann <arnd@arndb.de>2017-08-16 17:19:50 +0200
commit9deee319072286142ea23e9d3b0d789a216ffe20 (patch)
treefbed58c3ee9435087758b1936e9274cb91a2acc5 /drivers/firmware/arm_scpi.c
parentLinux 4.13-rc4 (diff)
downloadlinux-9deee319072286142ea23e9d3b0d789a216ffe20.tar.xz
linux-9deee319072286142ea23e9d3b0d789a216ffe20.zip
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: Rob Herring <robh@kernel.org> Acked-by: Sudeep 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: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/firmware/arm_scpi.c')
-rw-r--r--drivers/firmware/arm_scpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c
index 8043e51de897..59190c374696 100644
--- a/drivers/firmware/arm_scpi.c
+++ b/drivers/firmware/arm_scpi.c
@@ -965,7 +965,7 @@ static int scpi_probe(struct platform_device *pdev)
count = of_count_phandle_with_args(np, "mboxes", "#mbox-cells");
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;
}