linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] realtek ethernet : use generic power management.
@ 2020-05-18 15:02 Vaibhav Gupta
  2020-05-18 15:02 ` [PATCH net-next v3 1/2] realtek/8139too: " Vaibhav Gupta
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vaibhav Gupta @ 2020-05-18 15:02 UTC (permalink / raw)
  To: Heiner Kallweit, Vaibhav Gupta, netdev, Bjorn Helgaas,
	Bjorn Helgaas, bjorn, linux-kernel-mentees, rjw,
	David S . Miller
  Cc: Vaibhav Gupta, linux-kernel, linux-pci, linux-pm, skhan

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-24 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-18 15:02 [PATCH net-next v3 0/2] realtek ethernet : use generic power management Vaibhav Gupta
2020-05-18 15:02 ` [PATCH net-next v3 1/2] realtek/8139too: " Vaibhav Gupta
2020-05-18 15:02 ` [PATCH net-next v3 2/2] realtek/8139cp: " Vaibhav Gupta
2020-05-19 22:32 ` [PATCH net-next v3 0/2] realtek ethernet : " David Miller
2020-06-24 16:31   ` Vaibhav Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).