commit | 51142a0886bd34ec3c6e478739484a85b3b81cec | [log] [tgz] |
---|---|---|
author | Barnabás Pőcze <pobrn@protonmail.com> | Sat Sep 04 17:56:38 2021 +0000 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Sep 14 12:26:02 2021 +0200 |
tree | b178b47168da9d1c0e2e45eb2e7d276a105c4fbf | |
parent | 57f2ce89211383947cdf93502ad53cf0d18b65fe [diff] |
platform/x86: wmi: introduce helper to determine type Introduce helper function to determine the appropriate ACPI type for the input parameter. This also fixes the following checkpatch warning: "braces {} are not necessary for any arm of this statement". Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Link: https://lore.kernel.org/r/20210904175450.156801-29-pobrn@protonmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>