ACPI,PCI,IRQ: remove redundant code in acpi_irq_penalty_init()
authorSinan Kaya <okaya@codeaurora.org>
Sun, 17 Apr 2016 17:36:55 +0000 (13:36 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 May 2016 23:10:32 +0000 (01:10 +0200)
commit1fcb6a813c4f67a0ba189b0d057b70ba084f6e1a
treef7d3e8bfc5a89151e15ada22ce00a09036c96739
parent5c5087a5539083305f1199f09ac2e7f14d855ff3
ACPI,PCI,IRQ: remove redundant code in acpi_irq_penalty_init()

acpi_irq_get_penalty is now calculating the penalty on the fly now.
No need to maintain global list of penalties or calculate them
at the init time. Removing duplicate code in acpi_irq_penalty_init.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/pci/acpi.c
drivers/acpi/pci_link.c
include/acpi/acpi_drivers.h