diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-09-22 18:02:09 +0200 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-10-07 15:52:25 -0700 |
commit | 9597ebac91e5a88f558d236a51d776508d42a237 (patch) | |
tree | e38271f5d2fecf56f6e8b77be95958b4328dcd27 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | 0453674c90be7b39c8925ba5e1d746447905f8ee (diff) | |
download | kernel_samsung_smdk4412-9597ebac91e5a88f558d236a51d776508d42a237.zip kernel_samsung_smdk4412-9597ebac91e5a88f558d236a51d776508d42a237.tar.gz kernel_samsung_smdk4412-9597ebac91e5a88f558d236a51d776508d42a237.tar.bz2 |
iwlwifi: remove set_pwr_src operation
The set_pwr_src operation is only ever used from
within the same sub-driver that it is declared
in, so it can just be called directly instead of
being an operation. Also, it is never called to
set the power source to V_aux, so change the two
functions accordingly (but keep the V_aux code
for documentation purposes in a comment).
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-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index c192856..cda4a31 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c @@ -2268,7 +2268,6 @@ static struct iwl_lib_ops iwl4965_lib = { .init = iwl_apm_init, .stop = iwl_apm_stop, .config = iwl4965_nic_config, - .set_pwr_src = iwl_set_pwr_src, }, .eeprom_ops = { .regulatory_bands = { |