ata: 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> Cc: Tejun Heo <tj@kernel.org> Cc: linux-ide@vger.kernel.org Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
74cbd96bc2
commit
cf8984bf84
|
@ -339,7 +339,7 @@ static int k2_sata_show_info(struct seq_file *m, struct Scsi_Host *shost)
|
|||
if (!reg)
|
||||
continue;
|
||||
if (index == *reg) {
|
||||
seq_printf(m, "devspec: %s\n", np->full_name);
|
||||
seq_printf(m, "devspec: %pOF\n", np);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue