igc: Prefer to use the pci_release_mem_regions method
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 10 Nov 2019 14:05:20 +0000 (16:05 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 31 Dec 2019 19:17:25 +0000 (11:17 -0800)
commitfaf4dd52e9e34a36254a6ad43369064b6928d504
tree4d726801fca33d3af64f00ad9cdb4d854d3d3723
parent21da01fd3bb1124b46e6b15657de36dffcc58af9
igc: Prefer to use the pci_release_mem_regions method

Use the pci_release_mem_regions method instead of the
pci_release_selected_regions method

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c