diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2010-02-22 14:13:39 +0900 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-02-22 16:21:21 -0800 |
commit | b16694f70c40ea8d539cdc93a422039771e85870 (patch) | |
tree | 2ac80b596bff438d84c13224076aa474a3c8053c /drivers/pci/probe.c | |
parent | 6cbf82148ff286ec22a55be6836c3a5bffc489c1 (diff) |
PCIe PME: use pci_pcie_cap()
Use pci_pcie_cap() instead of pci_find_capability() to get PCIe
capability offset. This reduces redundant search in PCI configuration
space.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions