ath10k: clean up PCI completion states
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 13 Aug 2013 05:54:56 +0000 (07:54 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 14 Aug 2013 15:00:00 +0000 (18:00 +0300)
commitf9d8fece02796f3776a712be3bcfa4c075afe942
treee5bb07eaf77c326f4bbeb4daa81a2f3b9a2218c3
parentffe5daa873d37b56203dce4e8e55a4fab26b796d
ath10k: clean up PCI completion states

Improve code readability by using enum and a
switch-case.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/pci.h