Skip to contentSkip to conversation

irda: follow lspci device/vendor style

PATCH Applied [email protected] 2 participants 2 messages Sep 22, 2008 – Sep 23, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/8 irda: follow lspci device/vendor style

From: Bjorn Helgaas <[email protected]>

Use "[%04x:%04x]" for PCI vendor/device IDs to follow the format used by lspci(8).

---

 drivers/net/irda/vlsi_ir.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/irda/vlsi_ir.c renamed from drivers/net/irda/vlsi_ir.c~irda-follow-lspci-device-vendor-style +1 -1
diff -puN drivers/net/irda/vlsi_ir.c~irda-follow-lspci-device-vendor-style drivers/net/irda/vlsi_ir.c
@@ -165,7 +165,7 @@ static void vlsi_proc_pdev(struct seq_fi
 	unsigned iobase = pci_resource_start(pdev, 0);
 	unsigned i;
 
-	seq_printf(seq, "\n%s (vid/did: %04x/%04x)\n",
+	seq_printf(seq, "\n%s (vid/did: [%04x:%04x])\n",
 		   pci_name(pdev), (int)pdev->vendor, (int)pdev->device);
 	seq_printf(seq, "pci-power-state: %u\n", (unsigned) pdev->current_state);
 	seq_printf(seq, "resources: irq=%u / io=0x%04x / dma_mask=0x%016Lx\n",

_