ACPI: processor: introduce acpi_processor_alloc_pdc()
authorAlex Chiang <achiang@hp.com>
Sun, 20 Dec 2009 19:19:39 +0000 (12:19 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 22 Dec 2009 08:24:14 +0000 (03:24 -0500)
commit3b407aef573b82139c3bc4dcaad2731fad56c054
tree607a23308ee315ef60c23bd1e2d36acc95d2195b
parent47817254b8637b56730aec26eed2c337d3938bb5
ACPI: processor: introduce acpi_processor_alloc_pdc()

acpi_processor_init_pdc() isn't really doing anything interesting
with the struct acpi_processor * parameter. Its real job is to allocate
the buffer for the _PDC bits.

So rename the function to acpi_processor_alloc_pdc(), and just return
the struct acpi_object_list * it's supposed to allocate.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_pdc.c