[PATCH 4/5] IRDA: follow lspci device/vendor style

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bjorn Helgaas
Date: Monday, August 25, 2008 - 3:01 pm

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

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---

 drivers/net/irda/vlsi_ir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c
index 18f4b3a..9c926d2 100644
--- a/drivers/net/irda/vlsi_ir.c
+++ b/drivers/net/irda/vlsi_ir.c
@@ -165,7 +165,7 @@ static void vlsi_proc_pdev(struct seq_file *seq, struct pci_dev *pdev)
 	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",

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] use lspci style for [%04x:%04x] vendor/device, Bjorn Helgaas, (Mon Aug 25, 3:01 pm)
[PATCH 1/5] x86/PCI: follow lspci device/vendor style, Bjorn Helgaas, (Mon Aug 25, 3:01 pm)
[PATCH 2/5] AGP: follow lspci device/vendor style, Bjorn Helgaas, (Mon Aug 25, 3:01 pm)
[PATCH 3/5] V4L/DVB: follow lspci device/vendor style, Bjorn Helgaas, (Mon Aug 25, 3:01 pm)
[PATCH 4/5] IRDA: follow lspci device/vendor style, Bjorn Helgaas, (Mon Aug 25, 3:01 pm)
[PATCH 5/5] PCI: follow lspci device/vendor style, Bjorn Helgaas, (Mon Aug 25, 3:02 pm)
Re: [PATCH 0/5] use lspci style for [%04x:%04x] vendor/device, Arjan van de Ven, (Mon Aug 25, 3:05 pm)