PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction())
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 17 Dec 2013 23:43:39 +0000 (16:43 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Dec 2013 00:36:38 +0000 (17:36 -0700)
We currently have two instance of this loop which waits for a pending bit
to clear in a status dword.  Generalize the function for future users.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/pci.h

Simple merge
Simple merge