iwlagn: merge duplicate code into single function
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 14 Jun 2011 22:23:39 +0000 (15:23 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 18 Jun 2011 15:23:56 +0000 (08:23 -0700)
commit86cb3b4e08a106594ee79c94dec9c7ca289cf999
tree6c83c6367f30bbc65a9ee734cf553c69907d68d4
parent916b337310969dd5eef35be0988a6bf768c138f9
iwlagn: merge duplicate code into single function

Same operation needed by multiple devices, move to single function.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-2000.c
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-eeprom.c
drivers/net/wireless/iwlwifi/iwl-eeprom.h