ACPI: processor: remove unnecessary string _UID comments
PATCH 1/1 ACPI: processor: remove unnecessary string _UID comments
ACPI 6.3 Errata A no longer allows _UID to be string except Itanium for historical reasons as stated in section 5.2.12. Therefore, it is redundant to comment "we don't handle string _UIDs yet" which implies a feature is missing.
"From ACPI Specification 6.3 onward, all processor objects for all architectures except Itanium must now use Device() objects with an _HID of ACPI0007, and use only integer _UID values."
--- drivers/acpi/acpi_processor.c | 1 - 1 file changed, 1 deletion(-)
drivers/acpi/acpi_processor.c +0 -1
@@ -264,7 +264,6 @@ static int acpi_processor_get_info(struct acpi_device *device) }else {/* * Declared with "Device" statement; match _UID. -* Note that we don't handle string _UIDs yet. */ status =acpi_evaluate_integer (pr->handle,METHOD_NAME__UID ,NULL , &value);
Signature · 1 line
2.7.4
Quoted 20 lines · Alex Hung
ACPI 6.3 Errata A no longer allows
_UIDto be string except Itanium for historical reasons as stated in section 5.2.12. Therefore, it is redundant to comment "we don't handle string_UIDsyet" which implies a feature is missing."From ACPI Specification 6.3 onward, all processor objects for all architectures except Itanium must now use
Device()objects with an_HIDof ACPI0007, and use only integer_UIDvalues."Signed-off-by Alex Hung <[email protected]>--- drivers/acpi/acpi_processor.c | 1 - 1 file changed, 1 deletion(-)drivers/acpi/acpi_processor.c +0
-0
drivers/acpi/acpi_processor.c static int acpi_processor_get_info(struct acpi_device *device)
Quoted 8 lines
drivers/acpi/acpi_processor.c +0
-2@@ -264,7 +264,6 @@ static int acpi_processor_get_info(struct acpi_device *device) }else {/* * Declared with "Device" statement; match _UID. -* Note that we don't handle string _UIDs yet. */ status =acpi_evaluate_integer (pr->handle,METHOD_NAME__UID ,NULL , &value); --
Applied as 5.10-rc material with edited changelog and subject, thanks!