diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 03:52:05 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-08-28 18:53:24 +0200 |
commit | 9475e90f024a622ecee27675b50f5263029bb991 (patch) | |
tree | 24e55644637c9bb7b4bb1fd5ace9b174b0816e9f /arch/mips/ralink/cevt-rt3352.c | |
parent | MIPS: Loongon64: DMA functions cleanup (diff) | |
download | linux-9475e90f024a622ecee27675b50f5263029bb991.tar.xz linux-9475e90f024a622ecee27675b50f5263029bb991.zip |
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/cevt-rt3352.c')
-rw-r--r-- | arch/mips/ralink/cevt-rt3352.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/ralink/cevt-rt3352.c b/arch/mips/ralink/cevt-rt3352.c index 92f284d2b802..61a08943eb2f 100644 --- a/arch/mips/ralink/cevt-rt3352.c +++ b/arch/mips/ralink/cevt-rt3352.c @@ -134,7 +134,7 @@ static int __init ralink_systick_init(struct device_node *np) systick.dev.min_delta_ticks = 0x3; systick.dev.irq = irq_of_parse_and_map(np, 0); if (!systick.dev.irq) { - pr_err("%s: request_irq failed", np->name); + pr_err("%pOFn: request_irq failed", np); return -EINVAL; } @@ -146,8 +146,8 @@ static int __init ralink_systick_init(struct device_node *np) clockevents_register_device(&systick.dev); - pr_info("%s: running - mult: %d, shift: %d\n", - np->name, systick.dev.mult, systick.dev.shift); + pr_info("%pOFn: running - mult: %d, shift: %d\n", + np, systick.dev.mult, systick.dev.shift); return 0; } |