OSDN Git Service

Merge branch 'realtek-ethernet-use-generic-power-management'
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 22:32:24 +0000 (15:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 22:32:24 +0000 (15:32 -0700)
Vaibhav Gupta says:

====================
realtek ethernet : use generic power management.

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge