summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/os/linux/ar6000_pm.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-29 17:56:22 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-04 22:58:14 -0700
commit0c804c5a573867b0a0eeed957508601fb0f29a7a (patch)
treee1f2a6b3c37a205d2cab577d1cd00a08dd9b7bc0 /drivers/staging/ath6kl/os/linux/ar6000_pm.c
parent711908df76bedee2df653be057465168ed626742 (diff)
downloadop-kernel-dev-0c804c5a573867b0a0eeed957508601fb0f29a7a.zip
op-kernel-dev-0c804c5a573867b0a0eeed957508601fb0f29a7a.tar.gz
ath6kl: remove useless plat_setup_power() calls
These map to do nothing. Cc: Naveen Singh <nsingh@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/os/linux/ar6000_pm.c')
-rw-r--r--drivers/staging/ath6kl/os/linux/ar6000_pm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/ath6kl/os/linux/ar6000_pm.c b/drivers/staging/ath6kl/os/linux/ar6000_pm.c
index be401aa..eeb3807 100644
--- a/drivers/staging/ath6kl/os/linux/ar6000_pm.c
+++ b/drivers/staging/ath6kl/os/linux/ar6000_pm.c
@@ -304,13 +304,11 @@ int ar6000_power_change_ev(void *context, u32 config)
static int ar6000_pm_probe(struct platform_device *pdev)
{
- plat_setup_power(1,1);
return 0;
}
static int ar6000_pm_remove(struct platform_device *pdev)
{
- plat_setup_power(0,1);
return 0;
}
@@ -352,8 +350,6 @@ ar6000_setup_cut_power_state(struct ar6_softc *ar, AR6000_WLAN_STATE state)
break;
}
- plat_setup_power(1,0);
-
/* Change the state to ON */
ar->arWlanPowerState = WLAN_POWER_STATE_ON;
@@ -385,8 +381,6 @@ ar6000_setup_cut_power_state(struct ar6_softc *ar, AR6000_WLAN_STATE state)
&config,
sizeof(HIF_DEVICE_POWER_CHANGE_TYPE));
- plat_setup_power(0,0);
-
ar->arWlanPowerState = WLAN_POWER_STATE_CUT_PWR;
}
} while (0);
OpenPOWER on IntegriCloud