summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/dec/tulip/uli526x.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-06-22 14:42:27 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-24 06:33:15 +0300
commit77eb16e9b28754183ffa74ae5dac6e6e6e92c93c (patch)
treeedac1ecacffd18359f43c6a551ffb63d35a88384 /drivers/net/ethernet/dec/tulip/uli526x.c
parent8cfa989ae3f2e208bccd4007b82c02e2f3863014 (diff)
downloadlinux-77eb16e9b28754183ffa74ae5dac6e6e6e92c93c.tar.xz
tulip: tulip_core: use generic power management
With the support of generic PM callbacks, drivers no longer need to use legacy .suspend() and .resume() in which they had to maintain PCI states changes and device's power state themselves. Earlier, .suspend() and .resume() were invoking pci_disable_device() and pci_enable_device() respectively to manage the device's power state. driver also invoked pci_save/restore_state() and pci_set_power_sitate(). With generic PM, it is no longer needed. The driver is expected to just implement driver-specific operations and leave power transitions to PCI core. Compile-tested only. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/uli526x.c')
0 files changed, 0 insertions, 0 deletions