diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-09-02 23:26:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-11 15:53:31 -0400 |
commit | a33c2f47bd4618b0483d5ec4c5bc793e6d02c1f7 (patch) | |
tree | 20806f4dca919ca77c9b674d3f0ac43c4da46291 /drivers/net/wireless/iwlwifi/iwl-power.c | |
parent | 04816448d8b77551834c9ea01e407ef5f0042f0f (diff) |
iwlwifi: remove uneeded declarations
This patch cleans up iwlwifi by removing uneeded declarations and removing
uneeded symbol export reducing the namespace pollution. It also fixes some
typos in comments.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-power.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index bd6f600027d1..55ec31ec9e15 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c | |||
@@ -250,7 +250,7 @@ static int iwl_update_power_command(struct iwl_priv *priv, | |||
250 | 250 | ||
251 | 251 | ||
252 | /* | 252 | /* |
253 | * calucaute the final power mode index | 253 | * compute the final power mode index |
254 | */ | 254 | */ |
255 | int iwl_power_update_mode(struct iwl_priv *priv, bool force) | 255 | int iwl_power_update_mode(struct iwl_priv *priv, bool force) |
256 | { | 256 | { |
@@ -267,9 +267,9 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force) | |||
267 | return -EAGAIN; | 267 | return -EAGAIN; |
268 | } | 268 | } |
269 | 269 | ||
270 | /* If on battery, set to 3, | 270 | /* If on battery, set to 3, |
271 | * if plugged into AC power, set to CAM ("continuously aware mode"), | 271 | * if plugged into AC power, set to CAM ("continuously aware mode"), |
272 | * else user level */ | 272 | * else user level */ |
273 | 273 | ||
274 | switch (setting->system_power_setting) { | 274 | switch (setting->system_power_setting) { |
275 | case IWL_POWER_SYS_AUTO: | 275 | case IWL_POWER_SYS_AUTO: |