iwlwifi: create iwl_mac80211 unregister routine
authorDon Fry <donald.h.fry@intel.com>
Fri, 9 Dec 2011 18:07:38 +0000 (10:07 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 16 Dec 2011 15:23:48 +0000 (07:23 -0800)
commit09af14030d77d5f43229adabdd3c84c63f3499aa
tree09a05f78270554986c41306aa5a2a915cb22c23d
parent23fd7b029fa58c265bfa757603fd2af27c7af3ad
iwlwifi: create iwl_mac80211 unregister routine

The mac80211 setup_register operations are collected in one routine,
but the cleanup routines are not.  Create a routine for this.

Signed-off-by: Don Fry <donald.h.fry@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