projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f7fc2
)
PCI: xilinx-nwl: Use dev_printk() when possible
author
Bjorn Helgaas
<bhelgaas@google.com>
Sat, 28 May 2016 23:26:01 +0000
(18:26 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 20 Jun 2016 19:06:06 +0000
(14:06 -0500)
Use dev_printk() when possible to make messages more useful.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-xilinx-nwl.c
patch
|
blob
|
history
diff --git
a/drivers/pci/host/pcie-xilinx-nwl.c
b/drivers/pci/host/pcie-xilinx-nwl.c
index
3c16bbf
..
0b597d9
100644
(file)
--- 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;
}