mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
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>
This commit is contained in:
parent
1606484ec1
commit
52056925f4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user