iwlwifi: kill iwl_down and s/__iwl_down/iwl_down
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 17 Feb 2012 18:34:53 +0000 (10:34 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 17 Feb 2012 18:36:39 +0000 (10:36 -0800)
commit78e5a464320338a90b0367ab9cc58029393a9824
treea22d40b4773ccf4435ff04ac499598b0c1187bbb
parent655ccceb59f8fbffc2ed151d07d03eb88f27adb6
iwlwifi: kill iwl_down and s/__iwl_down/iwl_down

iwl_down was just a wrapper around __iwl_down which was called from
one place only. Replace it to direct call to iwl_down. Add lockdep
warning in iwl_down to ensure it was called with the mutex held.

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-mac80211.c