[PATCH v2 0/1] platform/x86: huawei-wmi: add ACPI fallback for Fn-lock on newer models

Shaposhnikov Daniil posted 1 patch 2 weeks ago
There is a newer version of this series
drivers/platform/x86/huawei-wmi.c | 98 +++++++++++++++++++++++++++++++
1 file changed, 98 insertions(+)
[PATCH v2 0/1] platform/x86: huawei-wmi: add ACPI fallback for Fn-lock on newer models
Posted by Shaposhnikov Daniil 2 weeks ago
Changes in v2:

Added linux/cleanup.h include for __free support
Used __free(kfree) macro to avoid duplicated kfree calls
Replaced magic literals with FN_LOCK_ACPI_OFF and FN_LOCK_ACPI_ON macro
Used switch/case in huawei_acpi_fn_lock_get to ehance readability
Removed unnecessary cast in SFRS argument construction

Shaposhnikov Daniil (1):
  platform/x86: huawei-wmi: add ACPI fallback for Fn-lock on newer
    models

 drivers/platform/x86/huawei-wmi.c | 98 +++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)

-- 
2.54.0