Commit 7506dc798993 ("PCI: Add wrappers for dev_printk()") introduce pci_info() helper. Switch to use pci_info() to simplify the code. Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> --- drivers/pci/probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index f2430da8a30b..e1572d41aa6d 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1454,7 +1454,7 @@ static int pci_scan_bridge_extend(struct pci_bus *bus, struct pci_dev *dev, (child->number > bus->busn_res.end) || (child->number < bus->number) || (child->busn_res.end < bus->number)) { - dev_info(&dev->dev, "devices behind bridge are unusable because %pR cannot be assigned for them\n", + pci_info(dev, "devices behind bridge are unusable because %pR cannot be assigned for them\n", &child->busn_res); break; } -- 2.25.1