diff options
author | Kenji Kaneshige | 2009-11-11 14:33:30 +0900 |
---|---|---|
committer | Jesse Barnes | 2009-11-24 15:25:14 -0800 |
commit | db9538a7495e33f3571c0e791c7678bc0c6ef50f (patch) | |
tree | 690c5977a83e5c7f0423870dd208784afcd4b159 /drivers/pci/hotplug-pci.c | |
parent | dba90dfe48e2e00e79a15c95940730b6926ee176 (diff) |
PCIe ASPM: use pci_pcie_cap()
Use pci_pcie_cap() instead of pci_find_capability() to get PCIe capability
offset in PCIe ASPM driver. This avoids unnecessary 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/hotplug-pci.c')
0 files changed, 0 insertions, 0 deletions