summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-power.c
diff options
context:
space:
mode:
authorDon Fry <donald.h.fry@intel.com>2011-10-10 07:26:56 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 14:48:10 -0400
commit26bfc0cfdb6b9a12911f8dde4f96c958aef357ae (patch)
treeb9a332cf3507a3a7043188c707a7c17722e838d2 /drivers/net/wireless/iwlwifi/iwl-power.c
parent3eae4bb176d3d51f6c61b8b1679116e58586d669 (diff)
downloadlinux-stable-26bfc0cfdb6b9a12911f8dde4f96c958aef357ae.tar.gz
linux-stable-26bfc0cfdb6b9a12911f8dde4f96c958aef357ae.tar.bz2
linux-stable-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.c2
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;