From: Bjorn Helgaas Date: Tue, 24 Feb 2009 17:38:22 +0000 (-0700) Subject: x86: use dev_printk in quirk message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13bf75766966e1bcc71fae536988caec312eef8f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git x86: use dev_printk in quirk message This patch changes a VIA PCI quirk to use dev_info() rather than printk(). Signed-off-by: Bjorn Helgaas Signed-off-by: Jesse Barnes --- diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index b25428533141..022833bb9ff1 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c @@ -290,8 +290,7 @@ fs_initcall(pci_iommu_init); static __devinit void via_no_dac(struct pci_dev *dev) { if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && forbid_dac == 0) { - printk(KERN_INFO - "PCI: VIA PCI bridge detected. Disabling DAC.\n"); + dev_info(&dev->dev, "disabling DAC on VIA PCI bridge\n"); forbid_dac = 1; } }