summaryrefslogtreecommitdiff
path: root/include/linux/pci_ids.h
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-06-18 12:22:14 +0400
committerBjorn Helgaas <bhelgaas@google.com>2013-06-18 22:05:34 +0400
commit728cdb7582a230234795619036d887d7f52bce1e (patch)
tree0de33c16dddda3b7e94d3657d27150ee20c24201 /include/linux/pci_ids.h
parentfc6504b3a4dc9beae782a11e6f7c3c4a9f077fb8 (diff)
downloadlinux-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