summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-05-29 01:26:01 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-06-20 21:06:06 +0200
commit9061f9bea4c995cea06c638606d1d56f95a759e0 (patch)
treeb5b653d994a2ea2fa0304b58487105118d69df2f /drivers/pci/host
parentPCI: xilinx-nwl: Request host bridge window resources (diff)
downloadlinux-9061f9bea4c995cea06c638606d1d56f95a759e0.tar.xz
linux-9061f9bea4c995cea06c638606d1d56f95a759e0.zip
PCI: xilinx-nwl: Use dev_printk() when possible
Use dev_printk() when possible to make messages more useful. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pcie-xilinx-nwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-xilinx-nwl.c b/drivers/pci/host/pcie-xilinx-nwl.c
index 3c16bbf970e3..0b597d9190b4 100644
--- a/drivers/pci/host/pcie-xilinx-nwl.c
+++ b/drivers/pci/host/pcie-xilinx-nwl.c
@@ -825,7 +825,7 @@ static int nwl_pcie_probe(struct platform_device *pdev)
err = of_pci_get_host_bridge_resources(node, 0, 0xff, &res, &iobase);
if (err) {
- pr_err("Getting bridge resources failed\n");
+ dev_err(pcie->dev, "Getting bridge resources failed\n");
return err;
}