summaryrefslogtreecommitdiff
path: root/drivers/pci/pci-stub.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/pci-stub.c
parent1f09b09b4de0e120800e49d806d264e7446ed446 (diff)
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/pci-stub.c')
-rw-r--r--drivers/pci/pci-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-stub.c b/drivers/pci/pci-stub.c
index 775e933c2225..6e47c519c510 100644
--- a/drivers/pci/pci-stub.c
+++ b/drivers/pci/pci-stub.c
@@ -28,7 +28,7 @@ MODULE_PARM_DESC(ids, "Initial PCI IDs to add to the stub driver, format is "
static int pci_stub_probe(struct pci_dev *dev, const struct pci_device_id *id)
{
- dev_printk(KERN_INFO, &dev->dev, "claimed by stub\n");
+ dev_info(&dev->dev, "claimed by stub\n");
return 0;
}