pciehp: use get_service_data
commitb97089400d44b9e90ce5029a2e458cd087473c74
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 26 Jun 2008 11:06:24 +0000 (26 20:06 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 27 Jun 2008 20:01:14 +0000 (27 13:01 -0700)
treecefbe4ac45ad92ae757120010173bdaa737c56bf
parent3aa50c44628629a6d58f93e0a1244e95a874884e
pciehp: use get_service_data

Current pciehp driver saves its private data pointer into pci_dev
structure using pci_set_drvdata()/pci_get_drvdata(). But because
pciehp is not a pci device driver but a PCI Express service driver, it
should save its private data pointer into pcie_device structure using
set_service_data()/get_service_data().

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_core.c