diff options
author | Don Fry <donald.h.fry@intel.com> | 2011-10-10 16:26:56 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-14 20:48:10 +0200 |
commit | 26bfc0cfdb6b9a12911f8dde4f96c958aef357ae (patch) | |
tree | b9a332cf3507a3a7043188c707a7c17722e838d2 /drivers/net/wireless/iwlwifi/iwl-power.c | |
parent | iwlagn: kill hw_params.max_stations (diff) | |
download | linux-26bfc0cfdb6b9a12911f8dde4f96c958aef357ae.tar.xz linux-26bfc0cfdb6b9a12911f8dde4f96c958aef357ae.zip |
iwlagn: eliminate bus pointer from iwl_priv structure
A pointer to the bus structure is still in iwl_priv. Finish
cleanup and remove it.
Signed-off-by: Don Fry <donald.h.fry@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index 62cd781192b0..4eaab204322d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c @@ -436,7 +436,7 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force) /* initialize to default */ void iwl_power_initialize(struct iwl_priv *priv) { - priv->power_data.bus_pm = bus_get_pm_support(priv->bus); + priv->power_data.bus_pm = bus_get_pm_support(bus(priv)); priv->power_data.debug_sleep_level_override = -1; |