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>
This commit is contained in:
Simon Glass 2015-09-08 17:52:48 -06:00
parent 4d21455e09
commit 3129ace489

View file

@ -438,7 +438,7 @@ int dm_pci_hose_probe_bus(struct pci_controller *hose, pci_dev_t bdf)
ret = device_probe(bus); ret = device_probe(bus);
if (ret) { 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); ret);
return 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); ret = device_bind_driver(parent, drv, str, devp);
if (ret) { 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; return ret;
} }
debug("%s: No match found: bound generic driver instead\n", __func__); debug("%s: No match found: bound generic driver instead\n", __func__);