ACPI / processor: Do not request ACPI cpufreq module directly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Oct 2013 23:00:30 +0000 (00:00 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Oct 2013 23:00:30 +0000 (00:00 +0100)
commit34411a69a4925dd6de8e1069956f59d758da3ce9
treeb861bf6803e8468fb3cb3f663ac76d6d868877d5
parent764d022133979f9d9a179152cd89717e9752c61a
ACPI / processor: Do not request ACPI cpufreq module directly

Function acpi_processor_load_module() used by the ACPI processor
driver can only really work if the acpi-cpufreq module is available
when acpi_processor_start() is executed which usually is not the case
for systems loading the processor driver module from an initramfs.

Moreover, that used to be a hackish workaround for module autoloading
issues, but udev loads acpi-cpufreq just fine nowadays, so that
function isn't really necessary any more.  For this reason, drop
acpi_processor_load_module() entirely.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_driver.c
drivers/acpi/processor_perflib.c
include/acpi/processor.h