nvme-pci: Use pci_sriov_configure_simple() to enable VFs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 24 Apr 2018 21:47:27 +0000 (16:47 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Apr 2018 21:47:27 +0000 (16:47 -0500)
commit74d986abc20bc2f0190a4e2683b9ae4d2de4117b
tree827d43c22275513b2867a9e2ee2b6efd76410cff
parent115ddc491922c3c133551e9cff2d3bfaed02a27e
nvme-pci: Use pci_sriov_configure_simple() to enable VFs

Instead of implementing our own version of a SR-IOV configuration stub in
the nvme driver, use the existing pci_sriov_configure_simple() function.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c