PCI PM: Rearrange code in pci-driver.c