[Linux-kernel-mentees] [PATCH v2 0/2] realtek ethernet : remove legacy power management callbacks.

From: Vaibhav Gupta
Date: Tue Apr 28 2020 - 10:44:05 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.

Vaibhav Gupta (2):
realtek/8139too: Remove Legacy Power Management
realtek/8139cp: Remove Legacy Power Management

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

--
2.26.2