PCI ASPM: cleanup calc_Lx_latency
commit5e0eaa7d3679c3ef8618803bc9311270e5816641
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 13 May 2009 03:21:48 +0000 (13 12:21 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 18 Jun 2009 21:02:21 +0000 (18 14:02 -0700)
tree895538798c0fd42aa499ac78ed0cb40a8fec27fa
parent7ab709910323a8af20722c066267516b3e7680a2
PCI ASPM: cleanup calc_Lx_latency

Cleanup for calc_L0S_latency() and calc_L1_latency().

  - Separate exit latency and acceptable latency calculation.
  - Some minor cleanups.

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