platform/x86: hp-wmi: Introduce HPWMI_POWER_FW_OR_HW as convenient shortcut
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 15 May 2020 13:41:04 +0000 (16:41 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 30 May 2020 14:43:31 +0000 (17:43 +0300)
commit5c556afebf49130004b9143f86794544b4074058
tree2b07ed081f5508f1da587de8bc0c62452f65f1a3
parent5cdc45ed3948042f0d73c6fec5ee9b59e637d0d2
platform/x86: hp-wmi: Introduce HPWMI_POWER_FW_OR_HW as convenient shortcut

For hardware blocked wireless switch we check two bits. Introduce
HPWMI_POWER_FW_OR_HW enum to increase readability and for easier
maintenance.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/hp-wmi.c