[PATCH v2 2/3] platform/x86: fujitsu-laptop: simplify call_fext_func()

2017-04-05 Thread Michał Kępień
acpi_evaluate_integer() takes a pathname parameter which contains the name of the entity to evaluate underneath the given handle, so calling acpi_get_handle() beforehand is redundant. Replace the call to acpi_get_handle() with a call to acpi_evaluate_integer(), thus eliminating the need for a

[PATCH v2 2/3] platform/x86: fujitsu-laptop: simplify call_fext_func()

2017-04-05 Thread Michał Kępień
acpi_evaluate_integer() takes a pathname parameter which contains the name of the entity to evaluate underneath the given handle, so calling acpi_get_handle() beforehand is redundant. Replace the call to acpi_get_handle() with a call to acpi_evaluate_integer(), thus eliminating the need for a