OSDN Git Service

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)
commit1184611ee88f309fe4a6ca3d50bde762434e386e
tree2001c476450f2c3b9203c1e10b89cbc4859436b9
parente59a00f4884815a2887837b9d34e0ae59c41d3d3
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