diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-05-28 12:03:46 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-05-28 21:22:02 +0400 |
commit | e7d4515209db5246245eb5667a94ad86ba9a12cc (patch) | |
tree | b9329ce394c13170a379e012c4c38e87335f9b56 /drivers/pci/pci-acpi.c | |
parent | 2dfca877b3c599ec081c23939b34ee22576e0833 (diff) | |
download | linux-e7d4515209db5246245eb5667a94ad86ba9a12cc.tar.xz |
PCI: Replace printks with appropriate pr_*()
Replace deprecated printk(KERN_ERR...) with pr_err() in pci-acpi.c
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r-- | drivers/pci/pci-acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index e4b1fb2c0f5d..6c15d6a96935 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -376,12 +376,12 @@ static int __init acpi_pci_init(void) int ret; if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_MSI) { - printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n"); + pr_info("ACPI FADT declares the system doesn't support MSI, so disable it\n"); pci_no_msi(); } if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_ASPM) { - printk(KERN_INFO"ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n"); + pr_info("ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n"); pcie_no_aspm(); } |