PCI ASPM: cleanup aspm state field in struct pcie_link_state
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 13 May 2009 03:12:43 +0000 (12:12 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 18 Jun 2009 20:57:25 +0000 (13:57 -0700)
commit80bfdbe370d56a1448c7078cd6d286b89241a72e
tree4d3f8c82aa87c1bf498946103b1e816f88121292
parentdc64cd1131a3b5762e26bd8b01dc79030dd0c555
PCI ASPM: cleanup aspm state field in struct pcie_link_state

The "support_state", "enabled_state" and "bios_aspm_state" fields in
the struct pcie_link_state take 2-bit value. So those fields don't
need to be defined as unsigned int. This patch makes those fields
2-bit, and cleans up some related code.

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