aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-11-17 19:05:13 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-21 16:20:48 -0500
commit1ffeb2a3e943299a2ca954b8d10c208c853c1960 (patch)
tree75fbacea1b36d319f28f0f20108dd3f590f74d3a /drivers
parentb3f15ef22cc539c35e7ec1db97cd652a56ccce04 (diff)
iwlwifi: remove redundancy
just use iwl_bus, remove the redundancy Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-io.c b/drivers/net/wireless/iwlwifi/iwl-io.c
index 3ffa8e62b856..3464cad7e38c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-io.c
+++ b/drivers/net/wireless/iwlwifi/iwl-io.c
@@ -143,7 +143,7 @@ u32 iwl_read_direct32(struct iwl_bus *bus, u32 reg)
143 143
144 spin_lock_irqsave(&bus->reg_lock, flags); 144 spin_lock_irqsave(&bus->reg_lock, flags);
145 iwl_grab_nic_access(bus); 145 iwl_grab_nic_access(bus);
146 value = iwl_read32(bus(bus), reg); 146 value = iwl_read32(bus, reg);
147 iwl_release_nic_access(bus); 147 iwl_release_nic_access(bus);
148 spin_unlock_irqrestore(&bus->reg_lock, flags); 148 spin_unlock_irqrestore(&bus->reg_lock, flags);
149 149