]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3975126c75b3567b81c509f56f1c79829289fa48
tree2b07ed081f5508f1da587de8bc0c62452f65f1a3
parentb748fd836e1c0ecc925d977938c09036ff45a1ed
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