iwlagn: store the irq number to iwl_bus just like dev
commit705cd4513a2fc561d8a2d5853cffb102bf183d70
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 18 Jun 2011 15:21:12 +0000 (18 08:21 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 18 Jun 2011 15:22:58 +0000 (18 08:22 -0700)
tree577d4d3a96b5f7acc80e4c41ba9a36148d8480ba
parent4b55b07fc9e5eccfd204cad75509bf062d3c22a3
iwlagn: store the irq number to iwl_bus just like dev

Since the irq number is just an unsigned int, store it inside iwl_bus
instead of calling the get_irq ops every time it is needed.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-dev.h