OSDN Git Service

iwlwifi: acpi: make iwl_get_bios_mcc() use the common acpi functions
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 26 Sep 2017 12:33:56 +0000 (15:33 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Oct 2017 12:22:31 +0000 (15:22 +0300)
commited1a962db760bfb5e30b8ab284873767790119b9
tree59abcb47dc3b745896369cec6051e4fb158acc92
parent45a5c6f68b2649ccb71721b95be22720f04b2bc3
iwlwifi: acpi: make iwl_get_bios_mcc() use the common acpi functions

The way iwl_get_bios_mcc() gets the WiFi package and checks for its
integrity is almost identical to the new iwl_acpi_get_wifi_pkg()
function.  Instead of having duplicate code, convert it to use the
common code.

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