igb: use dev_printk instead of printk

Use dev_printk() instead of printk() to give a little more context
and use consistent format.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Bjorn Helgaas and committed by David S. Miller ac450208 0f807044

+3 -4
+3 -4
drivers/net/igb/igb_main.c
··· 1019 1019 state &= ~PCIE_LINK_STATE_L0S; 1020 1020 pci_write_config_word(us_dev, pos + PCI_EXP_LNKCTL, 1021 1021 state); 1022 - printk(KERN_INFO "Disabling ASPM L0s upstream switch " 1023 - "port %x:%x.%x\n", us_dev->bus->number, 1024 - PCI_SLOT(us_dev->devfn), 1025 - PCI_FUNC(us_dev->devfn)); 1022 + dev_info(&pdev->dev, 1023 + "Disabling ASPM L0s upstream switch port %s\n", 1024 + pci_name(us_dev)); 1026 1025 } 1027 1026 default: 1028 1027 break;