[PATCH net-next v3 0/2] realtek ethernet : use generic power management.

From: Vaibhav Gupta
Date: Mon May 18 2020 - 11:03:15 EST


The purpose of this patch series is to remove legacy power management callbacks
from realtek ethernet drivers.

The callbacks performing suspend() and resume() operations are still calling
pci_save_state(), pci_set_power_state(), etc. and handling the powermanagement
themselves, which is not recommended.

The conversion requires the removal of the those function calls and change the
callback definition accordingly.

All Changes are compile-tested only.

Vaibhav Gupta (2):
realtek/8139too: use generic power management
realtek/8139cp: use generic power management

drivers/net/ethernet/realtek/8139cp.c | 25 ++++++++-----------------
drivers/net/ethernet/realtek/8139too.c | 26 +++++++-------------------
2 files changed, 15 insertions(+), 36 deletions(-)

--
2.26.2