diff options
| author | Vaibhav Gupta <[email protected]> | 2020-06-23 15:14:55 +0530 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-07-15 13:37:59 +0300 |
| commit | ef6425107ccceabf2743e7c848d174a4d51808ab (patch) | |
| tree | 9a43ab1831435e24eea26d02ca53efb3dbc84cb5 /tools/perf/scripts/python | |
| parent | a7f7c15e945a24fbb8ff99d3b19ab0dcd764030d (diff) | |
rtl818x_pci: use generic power management
Earlier, drivers had to manage the device's power states, and related
operations, themselves. With the generic approach, these are done by PCI
core.
The only driver-specific jobs, .suspend() and .resume() doing were invoking
PCI helper functions pci_save/restore_state() and
pci_set_power_state(). This is not recommeneded as PCI core takes care of
that. Hence they became empty-body functions, thus define them NULL.
Compile-tested only.
Signed-off-by: Vaibhav Gupta <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions