]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: use newer generic PM support instead of legacy PM callbacks
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 14 Jul 2017 13:27:03 +0000 (09:27 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 29 Sep 2017 19:51:00 +0000 (12:51 -0700)
commiteed3273c964564f28f1a1c3610a3aa7875abe615
tree1e82831ff929499d49518c7cb46b672e9f03aadf
parentd1f935ddb5613839f7c67e281a0ab1fc5c041e73
i40e: use newer generic PM support instead of legacy PM callbacks

Stop using the old legacy PM support, since we now have stable support
for the newer generic PM callbacks.

This has several advantages. First, we no longer have to manage our
own pci_save_state() and power changes, as it's preferred to have the
PCI stack do this. Second, these routines get called for both hibernate
and suspend to ram, so we can have the driver properly handle all the
suspend/resume flows that it needs to.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c