]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
iwlagn: code clean up to remove duplicate code
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 8 Dec 2010 15:51:50 +0000 (07:51 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 13 Dec 2010 23:53:54 +0000 (15:53 -0800)
commit65af8dea26aa89ae4a810bdaa05545a8e670b636
tree48684a81f4b877f9ddf8cab0c5c284b61ba08b3f
parentf21dd005df95e0fc6a578342c61b5333ce2abc2b
iwlagn: code clean up to remove duplicate code

Multiple devices use almost the same .cfg with minor differences.
Use macro and remove the duplication. By doing this, reduce
the chance for mistake while modify .cfg parameters

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