diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-06-18 12:22:14 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-06-18 22:05:34 +0400 |
commit | 728cdb7582a230234795619036d887d7f52bce1e (patch) | |
tree | 0de33c16dddda3b7e94d3657d27150ee20c24201 /include/linux/pci_ids.h | |
parent | fc6504b3a4dc9beae782a11e6f7c3c4a9f077fb8 (diff) | |
download | linux-728cdb7582a230234795619036d887d7f52bce1e.tar.xz |
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 'include/linux/pci_ids.h')
0 files changed, 0 insertions, 0 deletions