summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-06-29 14:59:40 +0530
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-07-30 08:36:08 -0700
commite9c971bdabb0ab008f443a92bcc35a2ccce99256 (patch)
tree19e3bf5697f535996b76d9047ea78c17207f2e92 /drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
parentbc5cbd73eb493944b8665dc517f684c40eb18a4a (diff)
downloadlinux-e9c971bdabb0ab008f443a92bcc35a2ccce99256.tar.bz2
igbvf: use generic power management
Remove legacy PM callbacks and use generic operations. With legacy code, drivers were responsible for handling PCI PM operations like pci_save_state(). In generic code, all these are handled by PCI core. The generic suspend() and resume() are called at the same point the legacy ones were called. Thus, it does not affect the normal functioning of the driver. __maybe_unused attribute is used with .resume() but not with .suspend(), as .suspend() is called by .shutdown(). Compile-tested only. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_main.c')
0 files changed, 0 insertions, 0 deletions