ath10k: cleanup ath10k_pci_wait_for_target_init()
authorKalle Valo <kvalo@qca.qualcomm.com>
Fri, 28 Mar 2014 07:32:21 +0000 (09:32 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 28 Mar 2014 12:21:41 +0000 (14:21 +0200)
commit0399eca8003945ab626c63ba5d796d57f81a8eb0
tree22d1cd02032943049cf6d6a7aaaded46afa109c4
parent36a8f413a3a53d0d77234e8ec7d29d50dfc2cf24
ath10k: cleanup ath10k_pci_wait_for_target_init()

ath10k_pci_wait_for_target_init() did really follow the style used elsewhere in
ath10k. Use ath10k_pci_read/write() wrappers, simplify the while loop and
improve warning messages.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c