From: Bjorn Helgaas Date: Sat, 28 May 2016 23:26:01 +0000 (-0500) Subject: PCI: xilinx-nwl: Use dev_printk() when possible X-Git-Tag: v5.15~13118^2~3^3~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9061f9bea4c995cea06c638606d1d56f95a759e0;p=platform%2Fkernel%2Flinux-starfive.git PCI: xilinx-nwl: Use dev_printk() when possible Use dev_printk() when possible to make messages more useful. Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/host/pcie-xilinx-nwl.c b/drivers/pci/host/pcie-xilinx-nwl.c index 3c16bbf..0b597d9 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; }