summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/smu.c
diff options
context:
space:
mode:
authorRob Herring2017-07-18 23:43:12 +0200
committerMichael Ellerman2017-09-01 08:42:52 +0200
commitb6a945ae03fd3962b51b27ecedf4f1dd7e034229 (patch)
tree1462bec56b191c6c89e641a6c442798b42eec908 /drivers/macintosh/smu.c
parentide: pmac: Convert to using %pOF instead of full_name (diff)
downloadkernel-qcow2-linux-b6a945ae03fd3962b51b27ecedf4f1dd7e034229.tar.gz
kernel-qcow2-linux-b6a945ae03fd3962b51b27ecedf4f1dd7e034229.tar.xz
kernel-qcow2-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/smu.c')
-rw-r--r--drivers/macintosh/smu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c
index 1ac66421877a..ea9bdc85a21d 100644
--- a/drivers/macintosh/smu.c
+++ b/drivers/macintosh/smu.c
@@ -589,14 +589,14 @@ static int smu_late_init(void)
if (smu->db_node) {
smu->db_irq = irq_of_parse_and_map(smu->db_node, 0);
if (!smu->db_irq)
- printk(KERN_ERR "smu: failed to map irq for node %s\n",
- smu->db_node->full_name);
+ printk(KERN_ERR "smu: failed to map irq for node %pOF\n",
+ smu->db_node);
}
if (smu->msg_node) {
smu->msg_irq = irq_of_parse_and_map(smu->msg_node, 0);
if (!smu->msg_irq)
- printk(KERN_ERR "smu: failed to map irq for node %s\n",
- smu->msg_node->full_name);
+ printk(KERN_ERR "smu: failed to map irq for node %pOF\n",
+ smu->msg_node);
}
/*