PCI: Use pci_wait_for_pending_transaction() instead of for loop
authorCasey Leedom <leedom@chelsio.com>
Tue, 6 Aug 2013 10:18:39 +0000 (15:48 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Aug 2013 19:58:14 +0000 (13:58 -0600)
commit4d708ab0c88512a3bea12f1ad68539fbe0d11d1a
treee7958c5879947350b7a66e7a3acae6bff0702545
parent8903b9eb19e0e2ca5ec0fc257cb0e5d9e94c75f4
PCI: Use pci_wait_for_pending_transaction() instead of for loop

New routine has been added to avoid duplication of code to wait for
pending PCI transactions to complete.  This makes use of that function.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c