]> err.no Git - linux-2.6/commitdiff
PCI: use dev_printk in quirk messages
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Fri, 29 Feb 2008 23:12:18 +0000 (16:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Mar 2008 23:07:02 +0000 (15:07 -0800)
Convert quirk printks to dev_printk().

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c

index bbad4a9f264f0045dfc091cb1f96cb5877eb11ce..5a4c7c35ea4526d69099bbd963ba9b676d25318b 100644 (file)
@@ -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");
                }
        }
 }