ACPICA: Utilities: split hex detection into smaller functions

acpi_ut_implicit_strtoul64() called acpi_ut_detect_hex_prefix() and
ignored the return value. Instead, use acpi_ut_remove_hex_prefix().

Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Erik Schmauss
2018-08-10 14:42:57 -07:00
committed by Rafael J. Wysocki
parent 8a55c696d3
commit 089b2bec97
3 changed files with 27 additions and 5 deletions

View File

@@ -180,6 +180,8 @@ char acpi_ut_remove_leading_zeros(char **string);
u8 acpi_ut_detect_hex_prefix(char **string);
void acpi_ut_remove_hex_prefix(char **string);
u8 acpi_ut_detect_octal_prefix(char **string);
/*