PCI: Add wrappers for dev_printk()
Add PCI-specific dev_printk() wrappers and use them to simplify the code slightly. No functional change intended. Signed-off-by: Frederick Lawler <fred@fredlawl.com> [bhelgaas: squash into one patch] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:

committed by
Bjorn Helgaas

父節點
c7abb2352c
當前提交
7506dc7989
@@ -33,7 +33,7 @@ static void pci_ptm_info(struct pci_dev *dev)
|
||||
dev->ptm_granularity);
|
||||
break;
|
||||
}
|
||||
dev_info(&dev->dev, "PTM enabled%s, %s granularity\n",
|
||||
pci_info(dev, "PTM enabled%s, %s granularity\n",
|
||||
dev->ptm_root ? " (root)" : "", clock_desc);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user