iwlwifi: move register access lock into transport
authorLilach Edelstein <lilach.edelstein@intel.com>
Wed, 16 Jan 2013 09:34:49 +0000 (11:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Feb 2013 10:27:22 +0000 (11:27 +0100)
commite56b04efc1f795da42cf1d9651b52a4a5bebd730
treea9740ffd4d47ffb7b90507691a0a066c20f42a2d
parente139dc4aebf52a9c88552963b9794fd1dff036f1
iwlwifi: move register access lock into transport

Move the reg_lock that protects HW register access
into the transport implementation. Locking is no
longer exposed, but handled internally in grab and
release NIC access. This simplifies the users.

Signed-off-by: Lilach Edelstein <lilach.edelstein@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/mac80211.c
drivers/net/wireless/iwlwifi/dvm/main.c
drivers/net/wireless/iwlwifi/dvm/tt.c
drivers/net/wireless/iwlwifi/iwl-io.c
drivers/net/wireless/iwlwifi/iwl-test.c
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/trans.c