diff options
author | Frederick Lawler <fred@fredlawl.com> | 2018-01-18 12:55:24 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-01-18 12:55:24 -0600 |
commit | 7506dc7989933235e6fc23f3d0516bdbf0f7d1a8 (patch) | |
tree | 9ea5a5569ac0b5c6e52f2e2294b9d4dc15b67022 /drivers/pci/hotplug/cpqphp_core.c | |
parent | c7abb2352c298e8ac2ccfd843f036ae5244d6f35 (diff) | |
download | linux-7506dc7989933235e6fc23f3d0516bdbf0f7d1a8.tar.gz linux-7506dc7989933235e6fc23f3d0516bdbf0f7d1a8.tar.bz2 linux-7506dc7989933235e6fc23f3d0516bdbf0f7d1a8.zip |
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>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_core.c')
-rw-r--r-- | drivers/pci/hotplug/cpqphp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpqphp_core.c b/drivers/pci/hotplug/cpqphp_core.c index d28992788eaa..27a562618d7f 100644 --- a/drivers/pci/hotplug/cpqphp_core.c +++ b/drivers/pci/hotplug/cpqphp_core.c @@ -835,7 +835,7 @@ static int cpqhpc_probe(struct pci_dev *pdev, const struct pci_device_id *ent) bus = pdev->subordinate; if (!bus) { - dev_notice(&pdev->dev, "the device is not a bridge, skipping\n"); + pci_notice(pdev, "the device is not a bridge, skipping\n"); rc = -ENODEV; goto err_disable_device; } |