PCI ASPM: remove get_root_port_link
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 13 May 2009 03:23:57 +0000 (12:23 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 18 Jun 2009 21:02:23 +0000 (14:02 -0700)
commit5c92ffb1ecc7f13267cdef5dda8a838937912c93
tree50a5ffeea038549e1195d80f10b183f55c45e4ef
parent3647584d9ef35c9ec4abefdbea29959c26c54f13
PCI ASPM: remove get_root_port_link

By having a pointer to the root port link, we can remove loops in
get_root_port_link() to search the root port link.

Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aspm.c