Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7d45152 authored by Yijing Wang's avatar Yijing Wang Committed by Bjorn Helgaas
Browse files

PCI: Replace printks with appropriate pr_*()



Replace deprecated printk(KERN_ERR...) with pr_err() in pci-acpi.c

Signed-off-by: default avatarYijing Wang <wangyijing@huawei.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 2dfca877
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
	}