]> git.baikalelectronics.ru Git - 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)
commit4750980c4a5cfcb72e28a782d5dfb5c6946ae9c9
tree48684a81f4b877f9ddf8cab0c5c284b61ba08b3f
parentfef9f10277cbcc9feed8d5f19bff1a9768e61af3
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