summaryrefslogtreecommitdiffstats
path: root/drivers/pci/irq.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-10-28 01:05:49 -0700
committerBjorn Helgaas <bhelgaas@google.com>2012-11-07 15:24:18 -0700
commit438be3c6b76fa129731a320ec7f0bb3d530bcb50 (patch)
tree3ee6b4603eaa71ce8cc7f208138ae3a3e8b5bed7 /drivers/pci/irq.c
parent1f09b09b4de0e120800e49d806d264e7446ed446 (diff)
downloadlinux-stable-438be3c6b76fa129731a320ec7f0bb3d530bcb50.tar.gz
linux-stable-438be3c6b76fa129731a320ec7f0bb3d530bcb50.tar.bz2
linux-stable-438be3c6b76fa129731a320ec7f0bb3d530bcb50.zip
PCI: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
dev_<level> calls take less code than dev_printk(KERN_<LEVEL> and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/irq.c')
-rw-r--r--drivers/pci/irq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/irq.c b/drivers/pci/irq.c
index e5f69a43b1b1..b008cf86b9c3 100644
--- a/drivers/pci/irq.c
+++ b/drivers/pci/irq.c
@@ -14,11 +14,11 @@ static void pci_note_irq_problem(struct pci_dev *pdev, const char *reason)
{
struct pci_dev *parent = to_pci_dev(pdev->dev.parent);
- dev_printk(KERN_ERR, &pdev->dev,
- "Potentially misrouted IRQ (Bridge %s %04x:%04x)\n",
- dev_name(&parent->dev), parent->vendor, parent->device);
- dev_printk(KERN_ERR, &pdev->dev, "%s\n", reason);
- dev_printk(KERN_ERR, &pdev->dev, "Please report to linux-kernel@vger.kernel.org\n");
+ dev_err(&pdev->dev,
+ "Potentially misrouted IRQ (Bridge %s %04x:%04x)\n",
+ dev_name(&parent->dev), parent->vendor, parent->device);
+ dev_err(&pdev->dev, "%s\n", reason);
+ dev_err(&pdev->dev, "Please report to linux-kernel@vger.kernel.org\n");
WARN_ON(1);
}