aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-08-05 07:10:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-22 14:45:57 -0400
commit84c87dc86eaf5c3f70d6c85fac832b277b1f71c7 (patch)
treeeed17db69a94517d35b3e789272b9d3918d38812 /drivers/net/wireless/ath/ath9k/hw.h
parentaf2bf4b4ee58d262a9a5c1d4ce6f81835058f8b5 (diff)
ath9k: remove ->config_pci_powersave() redundant argument
We always call ->config_pci_powersave() with both restore and power_off arguments equal to 0 or both equal to 1, so merge them into one argument. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 4fbcced2828c..2ea10f317183 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -606,8 +606,7 @@ struct ath_hw_private_ops {
606 */ 606 */
607struct ath_hw_ops { 607struct ath_hw_ops {
608 void (*config_pci_powersave)(struct ath_hw *ah, 608 void (*config_pci_powersave)(struct ath_hw *ah,
609 int restore, 609 bool power_off);
610 int power_off);
611 void (*rx_enable)(struct ath_hw *ah); 610 void (*rx_enable)(struct ath_hw *ah);
612 void (*set_desc_link)(void *ds, u32 link); 611 void (*set_desc_link)(void *ds, u32 link);
613 bool (*calibrate)(struct ath_hw *ah, 612 bool (*calibrate)(struct ath_hw *ah,