]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI / hotplug / PCI: Store parent in functions and bus in slots
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 13 Jul 2013 21:27:25 +0000 (23:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2013 02:00:24 +0000 (04:00 +0200)
commitbda46dbb6626c923a800b4033c86fefa613cd64c
tree1c035530c7ce97096b91558c6ce5fd4043cea159
parent89373a55d294b53e85792dbc636015b83d492f67
ACPI / hotplug / PCI: Store parent in functions and bus in slots

To avoid chasing more pointers than necessary in some situations,
move the bridge pointer from struct acpiphp_slot to struct
acpiphp_func (and call it 'parent') and add a bus pointer to
struct acpiphp_slot.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/acpiphp.h
drivers/pci/hotplug/acpiphp_core.c
drivers/pci/hotplug/acpiphp_glue.c