]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: acpi: move code that reads SPLC to acpi
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 28 Sep 2017 12:18:33 +0000 (15:18 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Oct 2017 12:22:33 +0000 (15:22 +0300)
commitefb1868ff72b4354e62d97a8aa5ee4e5687e8034
tree2001c476450f2c3b9203c1e10b89cbc4859436b9
parent5abab6a89bee0084edac4bcb9a5c5b48bbfd7538
iwlwifi: acpi: move code that reads SPLC to acpi

Move most of the set_dflt_pwr_limit() function to acpi.c and make it
return the pwr_limit value instead of setting directly.  Also rename
it to iwl_acpi_get_pwr_limit().

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
drivers/net/wireless/intel/iwlwifi/fw/acpi.h
drivers/net/wireless/intel/iwlwifi/pcie/drv.c