ACPI / processor: Use ACPI_PROCESSOR_DEVICE_HID instead of "ACPI0007"
authorHanjun Guo <hanjun.guo@linaro.org>
Sun, 9 Feb 2014 09:12:27 +0000 (17:12 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Feb 2014 23:33:09 +0000 (00:33 +0100)
Replace "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID to improve code
readability.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_core.c

index 0bbf5289abeb2d9269eb383fe0b2dbd2e6cb8f19..7c50a4c6c6573d23df5ab47341da21d3431d957e 100644 (file)
@@ -390,5 +390,5 @@ void __init acpi_early_processor_set_pdc(void)
        acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT,
                            ACPI_UINT32_MAX,
                            early_init_pdc, NULL, NULL, NULL);
-       acpi_get_devices("ACPI0007", early_init_pdc, NULL, NULL);
+       acpi_get_devices(ACPI_PROCESSOR_DEVICE_HID, early_init_pdc, NULL, NULL);
 }