irda: follow lspci device/vendor style
Subsystems (2)
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).
Signed-off-by Bjorn Helgaas <[email protected]>
Cc Samuel Ortiz <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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
@@ -165,7 +165,7 @@ static void vlsi_proc_pdev(struct seq_fiunsigned 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",
_
From: [email protected]
Date: Mon, 22 Sep 2008 14:50:43 -0700
Quoted 7 lines
From: Bjorn Helgaas <[email protected]>
Use "[%04x:%04x]" for PCI vendor/device IDs to follow the format used by lspci(8).
Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Applied to net-next-2.6, thanks.