diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-10-06 21:19:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:52 -0400 |
commit | 2568835cb44d6fe976e977d96aeca73c9fe1642c (patch) | |
tree | abf665608afe444d80427cbda689f9536b9984fc /drivers/acpi/button.c | |
parent | 7fda16665152851fe65ee73e24afdcaf67acba59 (diff) | |
download | blackbird-op-linux-2568835cb44d6fe976e977d96aeca73c9fe1642c.tar.gz blackbird-op-linux-2568835cb44d6fe976e977d96aeca73c9fe1642c.zip |
ath9k: add a helper to clean the core driver upon module unload
The core driver needs to be stopped and then as a last step the
hardware needs to be stopped and its structure free'd. We do this
by moving the core driver cleanup to a new helper ath_clean_core()
and have ath_cleanup() call it. Only as a last step does
ath_cleanup() now free the hw.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/acpi/button.c')
0 files changed, 0 insertions, 0 deletions