diff options
author | 2013-06-18 16:22:14 +0800 | |
---|---|---|
committer | 2013-06-18 12:05:34 -0600 | |
commit | 728cdb7582a230234795619036d887d7f52bce1e (patch) | |
tree | 0de33c16dddda3b7e94d3657d27150ee20c24201 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI / ACPI / PM: Use correct power state strings in messages (diff) | |
download | linux-dev-728cdb7582a230234795619036d887d7f52bce1e.tar.xz linux-dev-728cdb7582a230234795619036d887d7f52bce1e.zip |
PCI: Use pdev->pm_cap instead of pci_find_capability(..,PCI_CAP_ID_PM)
PCI PM cap register offset has been saved in pci_pm_init(),
so we can use pdev->pm_cap instead of using pci_find_capability(..)
here.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions