ata: Convert to using %pOF instead of full_name
PATCH 1/1 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.
--- drivers/ata/sata_svw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/sata_svw.c +1 -1
@@ -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 ; } }
--
2.11.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Tejun Heo
AppliedQuoted 7 lines · Rob Herring
Now that we have a custom printf format specifier, convert users of
full_nameto use %pOF instead. This is preparation to remove storing of the full path string for each node.
Applied to libata/for-4.14.
Thanks.
Signature · 5 lines
tejun -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html