diff options
author | Simon Glass <sjg@chromium.org> | 2015-09-08 17:52:48 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-10-21 07:46:25 -0600 |
commit | 3129ace48948043467439e848264a287d9cd5cce (patch) | |
tree | b107d4cc95f5b5b5ed55916469c6427874a3e5d6 | |
parent | 4d21455e09f950d543954c5113f379208f11988e (diff) | |
download | u-boot-imx-3129ace48948043467439e848264a287d9cd5cce.zip u-boot-imx-3129ace48948043467439e848264a287d9cd5cce.tar.gz u-boot-imx-3129ace48948043467439e848264a287d9cd5cce.tar.bz2 |
dm: pci: Correct a few debug() statements
One debug() statement is missing a newline. The other has a repeated word.
Fix these.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r-- | drivers/pci/pci-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 43522d2..87eee45 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclass.c @@ -438,7 +438,7 @@ int dm_pci_hose_probe_bus(struct pci_controller *hose, pci_dev_t bdf) ret = device_probe(bus); if (ret) { - debug("%s: Cannot probe bus bus %s: %d\n", __func__, bus->name, + debug("%s: Cannot probe bus %s: %d\n", __func__, bus->name, ret); return ret; } @@ -557,7 +557,7 @@ static int pci_find_and_bind_driver(struct udevice *parent, ret = device_bind_driver(parent, drv, str, devp); if (ret) { - debug("%s: Failed to bind generic driver: %d", __func__, ret); + debug("%s: Failed to bind generic driver: %d\n", __func__, ret); return ret; } debug("%s: No match found: bound generic driver instead\n", __func__); |