commit | c6f0fb5dfea02024ed8d45784a4f2f231aba9c65 | [log] [tgz] |
---|---|---|
author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | Mon Jun 22 16:44:00 2020 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 23 20:31:18 2020 -0700 |
tree | b19fd2b0bbe9958c2f30a94fa2027c3e67b54662 | |
parent | 2caf751fe080887eab4c94e8a2060e6bebe92e73 [diff] |
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>