diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2014-02-09 10:12:27 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-19 00:33:09 +0100 |
commit | 52056925f4fad39d2adbd9c5dc00c699efa3f604 (patch) | |
tree | c5d79852e026ea82428e0da2050e0d979f61582c /drivers/acpi | |
parent | ACPI / processor: Fix acpi_processor_eval_pdc() return value type (diff) | |
download | linux-52056925f4fad39d2adbd9c5dc00c699efa3f604.tar.xz linux-52056925f4fad39d2adbd9c5dc00c699efa3f604.zip |
ACPI / processor: Use ACPI_PROCESSOR_DEVICE_HID instead of "ACPI0007"
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 0bbf5289abeb..7c50a4c6c657 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c @@ -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); } |