summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_svw.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-07-18 16:42:48 -0500
committerTejun Heo <tj@kernel.org>2017-07-18 18:02:36 -0400
commitcf8984bf84c383ca1a7282bc6409c9684e6dc3a4 (patch)
tree7ac4a8e9df66bc732b6b7d1affd1205c01c0709d /drivers/ata/sata_svw.c
parent74cbd96bc2e00f5daa805e2ebf49e998f7045062 (diff)
downloadlinux-rpi-cf8984bf84c383ca1a7282bc6409c9684e6dc3a4.tar.gz
linux-rpi-cf8984bf84c383ca1a7282bc6409c9684e6dc3a4.tar.bz2
linux-rpi-cf8984bf84c383ca1a7282bc6409c9684e6dc3a4.zip
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>
Diffstat (limited to 'drivers/ata/sata_svw.c')
-rw-r--r--drivers/ata/sata_svw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c
index 0fd6ac7e57ba..a9d692c6c182 100644
--- a/drivers/ata/sata_svw.c
+++ b/drivers/ata/sata_svw.c
@@ -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;
}
}