aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVaibhav Gupta <[email protected]>2020-07-21 20:35:48 +0530
committerKalle Valo <[email protected]>2020-08-02 18:18:15 +0300
commit99aaa1aafa5c745c0d01f6f980f990ed0edd88ba (patch)
treeab24b27202e637eec5d380597a3e79a8f449a805 /tools/perf/util/scripting-engines/trace-event-python.c
parent140c6026167b2b394bf3a8a882f3bfbca0726111 (diff)
hostap: use generic power management
Drivers using legacy power management .suspen()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a single "struct dev_pm_ops" variable to take the unnecessary load from the driver. This also avoids the need for the driver to directly call most of the PCI helper functions and device power state control functions as through the generic framework, PCI Core takes care of the necessary operations, and drivers are required to do only device-specific jobs. 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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions