Searched hist:c6f0fb5dfea02024ed8d45784a4f2f231aba9c65 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-pci.c | diff c6f0fb5dfea02024ed8d45784a4f2f231aba9c65 Mon Jun 22 06:14:00 CDT 2020 Vaibhav Gupta <vaibhavgupta40@gmail.com> amd-xgbe: Convert to generic power management
Use dev_pm_ops structure to call generic suspend() and resume() callbacks.
Drivers should avoid saving device register and/or change power states using PCI helper functions. With the generic approach, all these are handled by PCI core.
Compile-tested only.
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|