ath9k: propagate errors on ath_init_device() and request_irq()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 3 Sep 2009 00:02:18 +0000 (17:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Sep 2009 20:31:04 +0000 (16:31 -0400)
commit580171f7cd08687cdf1b263aabb35608b3c37433
treef11b817d537e100df257256cb6937d9b73640d33
parentdb6be53cbaf118fdad5bdca211a19ca5354c9462
ath9k: propagate errors on ath_init_device() and request_irq()

We've cleaned up ath_init_device() and its children enough
to pass meaninful errors back from probe. When this fails
it means our device could not be initialized and a meaninful
error will have been passed.

Do the same for request_irq() and also synchronize the error
messages while at it.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ahb.c
drivers/net/wireless/ath/ath9k/pci.c