diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-09-22 12:02:10 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-10-07 18:52:34 -0400 |
commit | 14e8e4afeb7e90f1f2d3f2d3b54da57c27f59f38 (patch) | |
tree | 10ffce32b86fbbd429cbee4a83c81fc3ae0c64de /drivers/net/wireless/iwlwifi/iwl-eeprom.c | |
parent | 9597ebac91e5a88f558d236a51d776508d42a237 (diff) |
iwlwifi: remove apm_ops.stop
Since all devices share the same operation here,
there's no need to call it indirectly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c index bd51b06288eb..66eccb12159d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c | |||
@@ -603,7 +603,7 @@ err: | |||
603 | if (ret) | 603 | if (ret) |
604 | iwl_eeprom_free(priv); | 604 | iwl_eeprom_free(priv); |
605 | /* Reset chip to save power until we load uCode during "up". */ | 605 | /* Reset chip to save power until we load uCode during "up". */ |
606 | priv->cfg->ops->lib->apm_ops.stop(priv); | 606 | iwl_apm_stop(priv); |
607 | alloc_err: | 607 | alloc_err: |
608 | return ret; | 608 | return ret; |
609 | } | 609 | } |