projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1606484
)
ACPI / processor: Use ACPI_PROCESSOR_DEVICE_HID instead of "ACPI0007"
author
Hanjun Guo
<hanjun.guo@linaro.org>
Sun, 9 Feb 2014 09:12:27 +0000
(17:12 +0800)
committer
Rafael 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
patch
|
blob
|
history
diff --git
a/drivers/acpi/processor_core.c
b/drivers/acpi/processor_core.c
index 0bbf5289abeb2d9269eb383fe0b2dbd2e6cb8f19..7c50a4c6c6573d23df5ab47341da21d3431d957e 100644
(file)
--- 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);
}