OSDN Git Service

fm10k: use generic PM hooks instead of legacy PCIe power hooks
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 10 Jul 2017 20:23:16 +0000 (13:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Oct 2017 15:19:33 +0000 (08:19 -0700)
commit8249c47c6ba48cd3eba7c3ca7f8e733ee815c39b
tree2adbe87262e1389db51ec5cae47aef9931628fbc
parentb4fcd43661df0d84cc4e030ab7a26533114889b9
fm10k: use generic PM hooks instead of legacy PCIe power hooks

Replace the PCI specific legacy power management hooks with the new
generic power management hooks which work properly for both suspend and
hibernate. The new generic system is better and properly handles the
lower level PCIe power management rather than forcing the driver to
handle it.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c