aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-eeprom.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-09-22 18:02:10 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-10-07 15:52:34 -0700
commit14e8e4afeb7e90f1f2d3f2d3b54da57c27f59f38 (patch)
tree10ffce32b86fbbd429cbee4a83c81fc3ae0c64de /drivers/net/wireless/iwlwifi/iwl-eeprom.c
parent9597ebac91e5a88f558d236a51d776508d42a237 (diff)
downloadkernel_samsung_smdk4412-14e8e4afeb7e90f1f2d3f2d3b54da57c27f59f38.zip
kernel_samsung_smdk4412-14e8e4afeb7e90f1f2d3f2d3b54da57c27f59f38.tar.gz
kernel_samsung_smdk4412-14e8e4afeb7e90f1f2d3f2d3b54da57c27f59f38.tar.bz2
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.c2
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 bd51b06..66eccb1 100644
--- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c
+++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c
@@ -603,7 +603,7 @@ err:
if (ret)
iwl_eeprom_free(priv);
/* Reset chip to save power until we load uCode during "up". */
- priv->cfg->ops->lib->apm_ops.stop(priv);
+ iwl_apm_stop(priv);
alloc_err:
return ret;
}