diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-08-26 01:45:20 +0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 21:53:43 +0400 |
commit | 34a2e15e95fce6d6f4d30162f53a0ceb25d5bbaf (patch) | |
tree | 878e3c7ac9dabd8fa7faca870bc01c1972218602 /drivers/pci/probe.c | |
parent | d768cb6929773060171eee8397a63883f60ddc07 (diff) | |
download | linux-34a2e15e95fce6d6f4d30162f53a0ceb25d5bbaf.tar.xz |
PCI: follow lspci device/vendor style
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: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index d3db8b249729..578d15f49e02 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -762,7 +762,7 @@ static int pci_setup_device(struct pci_dev * dev) dev->class = class; class >>= 8; - dev_dbg(&dev->dev, "found [%04x/%04x] class %06x header type %02x\n", + dev_dbg(&dev->dev, "found [%04x:%04x] class %06x header type %02x\n", dev->vendor, dev->device, class, dev->hdr_type); /* "Unknown power state" */ |