ath9k: Cleanup init/deinit routines
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 8 Jan 2010 05:06:07 +0000 (10:36 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:02:05 +0000 (14:02 -0500)
commit285f2ddae03ca207877262f5a9dbd9cddd8b3913
tree7b26606956f4d6f4c1f564718769501b34d3f640
parent1b04b9308ebc7f6accb319cf51c9b8ec29f79707
ath9k: Cleanup init/deinit routines

The device initialization and termination functions
were messy and convoluted. Introduce helper functions
to clarify init_softc() and simplify things in general.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ahb.c
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/pci.c
drivers/net/wireless/ath/ath9k/virtual.c