amd8111e: Convert to generic power management
authorVaibhav Gupta <vaibhavgupta40@gmail.com>
Mon, 22 Jun 2020 11:13:59 +0000 (16:43 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:31:18 +0000 (20:31 -0700)
commit2caf751fe080887eab4c94e8a2060e6bebe92e73
tree182c12497c14bc275d038aa80322f8aff4fe3ce2
parenta86688fbef1b48395822e90d5273e8abcac95a6c
amd8111e: Convert to generic power management

Drivers should not save device registers and/or change the power state of
the device. As per the generic PM approach, these are handled by PCI core.

The driver should support dev_pm_ops callbacks and bind them to pci_driver.

Compile-tested only.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/amd8111e.c