summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-06-29 23:04:56 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-01 15:40:11 +0200
commitbe1247782e5ce606ad47220a87bd3d0fbabe3e4c (patch)
treee7027b4ec88fffe4e95ecb4a0ff010844308e85e /tools/perf/scripts/python
parent7a46931ba9a25ce73761f4015f004229df44ef13 (diff)
downloadlinux-be1247782e5ce606ad47220a87bd3d0fbabe3e4c.tar.gz
linux-be1247782e5ce606ad47220a87bd3d0fbabe3e4c.zip
staging: qlge/qlge_main.c: use generic power management
Drivers should not use legacy power management as they have to manage power states and related operations, for the device, themselves. This driver was handling them with the help of PCI helper functions like pci_save/restore_state(), pci_enable/disable_device(), etc. With generic PM, all essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Link: https://lore.kernel.org/r/20200629173459.262075-2-vaibhavgupta40@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions