From: Rob Herring Date: Tue, 18 Jul 2017 21:42:48 +0000 (-0500) Subject: ata: Convert to using %pOF instead of full_name X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cf8984bf84c383ca1a7282bc6409c9684e6dc3a4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Tejun Heo Cc: linux-ide@vger.kernel.org Signed-off-by: Tejun Heo --- 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; } }