Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ffeb2a3 authored by Wey-Yi Guy's avatar Wey-Yi Guy Committed by John W. Linville
Browse files

iwlwifi: remove redundancy



just use iwl_bus, remove the redundancy

Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b3f15ef2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);