diff options
author | Rob Herring <robh@kernel.org> | 2017-07-18 23:43:12 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-01 08:42:52 +0200 |
commit | b6a945ae03fd3962b51b27ecedf4f1dd7e034229 (patch) | |
tree | 1462bec56b191c6c89e641a6c442798b42eec908 /drivers/macintosh/via-cuda.c | |
parent | ide: pmac: Convert to using %pOF instead of full_name (diff) | |
download | linux-b6a945ae03fd3962b51b27ecedf4f1dd7e034229.tar.xz linux-b6a945ae03fd3962b51b27ecedf4f1dd7e034229.zip |
macintosh: 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>
[mpe: Also convert the two cases inside #if 0]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh/via-cuda.c')
-rw-r--r-- | drivers/macintosh/via-cuda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/via-cuda.c b/drivers/macintosh/via-cuda.c index c60415958dfe..147da4edd021 100644 --- a/drivers/macintosh/via-cuda.c +++ b/drivers/macintosh/via-cuda.c @@ -297,8 +297,8 @@ static int __init via_cuda_start(void) #else cuda_irq = irq_of_parse_and_map(vias, 0); if (!cuda_irq) { - printk(KERN_ERR "via-cuda: can't map interrupts for %s\n", - vias->full_name); + printk(KERN_ERR "via-cuda: can't map interrupts for %pOF\n", + vias); return -ENODEV; } #endif |