aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-09-22 12:02:09 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-10-07 18:52:25 -0400
commit9597ebac91e5a88f558d236a51d776508d42a237 (patch)
treee38271f5d2fecf56f6e8b77be95958b4328dcd27 /drivers/net/wireless/iwlwifi/iwl-5000.c
parent0453674c90be7b39c8925ba5e1d746447905f8ee (diff)
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-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 084271e5e468..c90a16cdfaff 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -370,7 +370,6 @@ static struct iwl_lib_ops iwl5000_lib = {
370 .init = iwl_apm_init, 370 .init = iwl_apm_init,
371 .stop = iwl_apm_stop, 371 .stop = iwl_apm_stop,
372 .config = iwl5000_nic_config, 372 .config = iwl5000_nic_config,
373 .set_pwr_src = iwl_set_pwr_src,
374 }, 373 },
375 .eeprom_ops = { 374 .eeprom_ops = {
376 .regulatory_bands = { 375 .regulatory_bands = {
@@ -440,7 +439,6 @@ static struct iwl_lib_ops iwl5150_lib = {
440 .init = iwl_apm_init, 439 .init = iwl_apm_init,
441 .stop = iwl_apm_stop, 440 .stop = iwl_apm_stop,
442 .config = iwl5000_nic_config, 441 .config = iwl5000_nic_config,
443 .set_pwr_src = iwl_set_pwr_src,
444 }, 442 },
445 .eeprom_ops = { 443 .eeprom_ops = {
446 .regulatory_bands = { 444 .regulatory_bands = {