diff options
author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | 2020-06-22 17:12:26 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 20:33:15 -0700 |
commit | 8cfa989ae3f2e208bccd4007b82c02e2f3863014 (patch) | |
tree | 040fc901acd7cd152bc92b9e18b30cbc41682e07 /fs/hfs | |
parent | fc9aebfbdb7ea9c854e4efe9f1f0389fef814c44 (diff) | |
download | linux-8cfa989ae3f2e208bccd4007b82c02e2f3863014.tar.gz linux-8cfa989ae3f2e208bccd4007b82c02e2f3863014.tar.bz2 linux-8cfa989ae3f2e208bccd4007b82c02e2f3863014.zip |
tulip: de2104x: 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.
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 'fs/hfs')
0 files changed, 0 insertions, 0 deletions