PCI: Use pci_physfn() rather than looking up physfn by hand
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jul 2015 20:38:13 +0000 (15:38 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Aug 2015 20:57:23 +0000 (15:57 -0500)
commitc39127dbaf6c267f18d1cac14e2b0ecbfaa52d63
tree4bc150a630489fcab3c3b7c21f88e34219ae335e
parentafdd596c42c4540308eae9f4c685d9bccc525cfc
PCI: Use pci_physfn() rather than looking up physfn by hand

Use the pci_physfn() helper rather than looking up physfn by hand.
No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
drivers/pci/ats.c