diff options
author | Rob Herring | 2018-08-27 20:52:05 -0500 |
---|---|---|
committer | Paul Burton | 2018-08-28 09:53:24 -0700 |
commit | 9475e90f024a622ecee27675b50f5263029bb991 (patch) | |
tree | 24e55644637c9bb7b4bb1fd5ace9b174b0816e9f /arch/mips/ralink/ill_acc.c | |
parent | 33f2ac5451a62f4e441454522b0588790144a717 (diff) |
MIPS: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20315/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/ralink/ill_acc.c')
-rw-r--r-- | arch/mips/ralink/ill_acc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/ill_acc.c b/arch/mips/ralink/ill_acc.c index 765d5ba98fa2..fc056f2acfeb 100644 --- a/arch/mips/ralink/ill_acc.c +++ b/arch/mips/ralink/ill_acc.c @@ -62,7 +62,7 @@ static int __init ill_acc_of_setup(void) pdev = of_find_device_by_node(np); if (!pdev) { - pr_err("%s: failed to lookup pdev\n", np->name); + pr_err("%pOFn: failed to lookup pdev\n", np); return -EINVAL; } |