From: Luis R. Rodriguez Date: Wed, 7 Oct 2009 01:19:09 +0000 (-0400) Subject: ath9k: add a helper to clean the core driver upon module unload X-Git-Tag: v2.6.33-rc1~388^2~865^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2568835cb44d6fe976e977d96aeca73c9fe1642c;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed