lkml.org 
[lkml]   [2016]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH v1 12/25] PCI: xilinx-nwl: Use dev_printk() when possible
    From
    Date
    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 | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    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;
    }

    \
     
     \ /
      Last update: 2016-06-07 01:21    [W:2.567 / U:0.212 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site