aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/ata_generic.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-05-13 12:17:44 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-18 13:57:26 -0700
commit5aa63583cbec27482c6f1d761a0509f59b7969a8 (patch)
treea989edcd7e85199aee66eff2f087dfd6d94176bb /drivers/ata/ata_generic.c
parent5cde89d80172a393e49077d2450545b97ac8d972 (diff)
PCI ASPM: cleanup change input argument of aspm functions
In the current ASPM implementation, there are many functions that take a pointer to struct pci_dev corresponding to the upstream component of the link as a parameter. But, since those functions handle PCI express link state, a pointer to struct pcie_link_state is more suitable than a pointer to struct pci_dev. Changing a parameter to a pointer to struct pcie_link_state makes ASPM code much simpler and easier to read. This patch also contains some minor cleanups. This patch doesn't have any functional change. 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>
Diffstat (limited to 'drivers/ata/ata_generic.c')
0 files changed, 0 insertions, 0 deletions