summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-power.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2012-01-08 21:19:45 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-02-02 14:37:12 -0800
commitf6d0e9be6580ba607f730d7e056518c95a864601 (patch)
tree3f34b23e26c34350ed042b6ea9b83270bca44876 /drivers/net/wireless/iwlwifi/iwl-power.c
parentaf634bee8c4a15629da5e114c491acb8ee50e1e9 (diff)
downloadblackbird-op-linux-f6d0e9be6580ba607f730d7e056518c95a864601.tar.gz
blackbird-op-linux-f6d0e9be6580ba607f730d7e056518c95a864601.zip
iwlwifi: kill bus_is_pm_supported
Get this information from the transport layer which is now in charge of the APM too. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.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 c7394ef2e490..fd008c4e41fd 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(bus(priv));
+ priv->power_data.bus_pm = trans(priv)->pm_support;
priv->power_data.debug_sleep_level_override = -1;
OpenPOWER on IntegriCloud