PCI: Factor pci_reassigndev_resource_alignment()
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Apr 2017 19:12:06 +0000 (14:12 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Apr 2017 17:52:22 +0000 (12:52 -0500)
commit81a5e70e0de55707c3184d186b2103b5bb9377ec
tree9a4158bbbc755c42f5cb8a237650e7cdea234ebe
parent382746376993cfa6d6c4e546c67384201c0f3a82
PCI: Factor pci_reassigndev_resource_alignment()

Pull the BAR size adjustment out into a new function,
pci_request_resource_alignment(), and add a comment about how and why we
increase the resource size and alignment.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c