diff options
author | Werner Almesberger <werner@openmoko.org> | 2009-01-19 01:18:06 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-01-19 01:18:06 +0000 |
commit | d1184dc21448404d2e274ce5a5a95b98878a624f (patch) | |
tree | 0b3ec65f9a6de67d0ae0f295a29c86ade03bbe7f /drivers | |
parent | cde71aa787eb9f986c04da58e9f9130be2ac52eb (diff) |
clean up GTA02 WLAN power control
This patch cleans up the GTA02 WLAN power control platform device:
- remove misleading /sys/devices/platform/gta02-pm-wlan.0/power_on
Users really wishing to play with reset can just gpio j12=0
- rename gta02_wlan_power to gta02_wlan_reset, because that's what it
truly is
- remove handling of GTA02_CHIP_PWD because
- it's not used, say our schematics
- even if it is, it's sampled long before we could affect it
- move SDIO-specific conversion from "power switch" to "reset
button" logic from gta02_wlan_reset to gta02_s3c_mmc_set_power
- removed mutex protection because we now only have a single user
A note in passing: we can probably do away with gta02_pm_wlan
completely once upstream rfkill adds better support for type-based
control.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions