]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: add device name to device_info
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 10 Oct 2019 15:29:26 +0000 (18:29 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 4 Jan 2020 10:48:41 +0000 (12:48 +0200)
commitc9a1595b01a4ce0a637addf1cbc0c4339dbecf5b
tree167e8fee76c7d9bdd5b4bd4878ec1be4f7f23ea0
parent884cc2000bb77fcd38fbab574bb5c180aa7c2148
iwlwifi: add device name to device_info

We have a lot of mostly duplicated data structures that are repeated
only because the device name string is different.  To avoid this, move
the string from the cfg to the trans structure and add it
independently from the rest of the configuration to the PCI mapping
tables.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/9000.c
drivers/net/wireless/intel/iwlwifi/dvm/main.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
drivers/net/wireless/intel/iwlwifi/mvm/nvm.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/pcie/drv.c