提交 7cf095f4 编写于 作者: W Wey-Yi Guy

iwlwifi: remove redundancy

just use iwl_bus, remove the redundancy
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
上级 cccb265d
......@@ -143,7 +143,7 @@ u32 iwl_read_direct32(struct iwl_bus *bus, u32 reg)
spin_lock_irqsave(&bus->reg_lock, flags);
iwl_grab_nic_access(bus);
value = iwl_read32(bus(bus), reg);
value = iwl_read32(bus, reg);
iwl_release_nic_access(bus);
spin_unlock_irqrestore(&bus->reg_lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册