diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-06-13 10:52:13 -0600 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-25 16:05:19 -0700 |
commit | 34438ba602f9b8904aafe7559046ea68e99e88a0 (patch) | |
tree | f1cb1b000a091eaa1501a5c53a14143a0e7b4a5e /drivers/pci/pcie/portdrv_pci.c | |
parent | 531f254e5cdadb894f04ed27107cdb34c15817ea (diff) | |
download | blackbird-op-linux-34438ba602f9b8904aafe7559046ea68e99e88a0.tar.gz blackbird-op-linux-34438ba602f9b8904aafe7559046ea68e99e88a0.zip |
PCIE: port driver: use dev_printk when possible
Convert printks to use dev_printk().
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pcie/portdrv_pci.c')
-rw-r--r-- | drivers/pci/pcie/portdrv_pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index 51d163238d93..367c9c20000d 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c @@ -91,9 +91,8 @@ static int __devinit pcie_portdrv_probe (struct pci_dev *dev, pci_set_master(dev); if (!dev->irq && dev->pin) { - printk(KERN_WARNING - "%s->Dev[%04x:%04x] has invalid IRQ. Check vendor BIOS\n", - __func__, dev->vendor, dev->device); + dev_warn(&dev->dev, "device [%04x/%04x] has invalid IRQ; " + "check vendor BIOS\n", dev->vendor, dev->device); } if (pcie_port_device_register(dev)) { pci_disable_device(dev); |