]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
irda: follow lspci device/vendor style
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 23 Sep 2008 02:20:06 +0000 (19:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 02:20:06 +0000 (19:20 -0700)
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/vlsi_ir.c

index 18f4b3a96aedd1590eae4d3f13ba802011f9418e..9c926d205de971d69ee7873522ec4a657dfc8cfb 100644 (file)
@@ -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",