summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-02-29 16:12:18 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-03-04 15:07:02 -0800
commitd6505a5236a68c51a77df16bc4e6100b3aee2672 (patch)
tree5c08f333d935816d7cdc6cc574ceb99bda54fbd2 /drivers
parentfcab59a3186640ce085e89ee6dfc03cacfb6c7c9 (diff)
downloadlinux-d6505a5236a68c51a77df16bc4e6100b3aee2672.tar.bz2
PCI: use dev_printk in quirk messages
Convert quirk printks to dev_printk(). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/quirks.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index bbad4a9f264f..5a4c7c35ea45 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1652,9 +1652,8 @@ static void __devinit quirk_via_cx700_pci_parking_caching(struct pci_dev *dev)
pci_write_config_byte(dev, 0x75, 0x1);
pci_write_config_byte(dev, 0x77, 0x0);
- printk(KERN_INFO
- "PCI: VIA CX700 PCI parking/caching fixup on %s\n",
- pci_name(dev));
+ dev_info(&dev->dev,
+ "Disabling VIA CX700 PCI parking/caching\n");
}
}
}