OSDN Git Service

iwlwifi: pnvm: move file loading code to a separate function
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 15:23:53 +0000 (17:23 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 23:57:40 +0000 (01:57 +0200)
commitcdda18fbbefafc6f3b8e6fe03482c1a7de4772e6
tree0965d5a09afd00f0ea1f76e07f30fa5dd0e066b9
parentff11a8ee2d2d0f78514ac9b42fb50c525ca695c7
iwlwifi: pnvm: move file loading code to a separate function

In preparation to support loading the PNVM from UEFI, move the
function that loads the PNVM from the filesystem to a separate
function.  This will make it easier to try to load from both places
later on.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210172142.072aa2e8bbc5.Ib351ee5da47a4cee60d44e66d32d2f6bba6f3150@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/pnvm.c