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)
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>

No differences found