PCI: Split out pci_dev lock/unlock and save/restore
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 8 Aug 2013 20:09:49 +0000 (14:09 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 14 Aug 2013 21:19:46 +0000 (15:19 -0600)
commit77cb985ad4acbe66a92ead1bb826deffa47dd33f
tree788d6b9ec8f701d952c84552fd4d33483c200611
parent608c388122c72e1bf11ba8113434eb3d0c40c32d
PCI: Split out pci_dev lock/unlock and save/restore

Only cosmetic code changes to existing paths.  Expand the comment in
the new pci_dev_save_and_disable() function since there's a lot
hidden in that Command register write.

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