Merge branch 'ethernet-dec-tulip-use-generic-power-management'
authorDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:33:15 +0000 (20:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:33:15 +0000 (20:33 -0700)
commit1c59bb6bcbe88aff1527e8eae396d5d5a706e659
tree22af8cb6dcdc6bdf10d69bdbac25e46adbc03bd3
parent39ea5d7014ddd7f1337ad6c0bfc1b866e2f8817b
parent6c3cb945ed79f4a9a1eede1889e165f326dcf6e9
Merge branch 'ethernet-dec-tulip-use-generic-power-management'

Vaibhav Gupta says:

====================
ethernet: dec: tulip: use generic power management

Linux Kernel Mentee: Remove Legacy Power Management.

The purpose of this patch series is to remove legacy power management
callbacks and invocation of PCI helper functions, from tulip ethernet drivers.

With legacy PM, drivers themselves are responsible for handling the device's
power states. And they do this with the help of PCI helper functions like
pci_enable/disable_device(), pci_set/restore_state(), pci_set_powr_state(), etc.
which is not recommended.

In generic PM, all the required tasks are handled by PCI core and drivers need
to perform device-specific operations only.

All patches are compile-tested only.
====================

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