summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2014-02-09 17:12:27 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-19 00:33:09 +0100
commit52056925f4fad39d2adbd9c5dc00c699efa3f604 (patch)
treec5d79852e026ea82428e0da2050e0d979f61582c /drivers/acpi
parent1606484ec1f5ee3315a4ff4a80504c3908c60023 (diff)
downloadlinux-52056925f4fad39d2adbd9c5dc00c699efa3f604.tar.gz
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.c2
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);
}