From: Bjorn Helgaas Date: Mon, 14 Sep 2009 22:35:10 +0000 (-0600) Subject: PCI hotplug: acpiphp: don't cache hotplug_params in acpiphp_bridge X-Git-Tag: v2.6.32-rc1~670^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fca6825ad7382ae9df8ecda9068ac13ee9e343f4;p=pandora-kernel.git PCI hotplug: acpiphp: don't cache hotplug_params in acpiphp_bridge We always look up hotplug_params with decode_hpp() immediately before using them, so we don't need to save them in the acpiphp_bridge struct. This patch follows the example of program_fw_provided_values() in pciehp_pci.c and shpchp_pci.c by just keeping the params on the stack while we need them. Signed-off-by: Bjorn Helgaas Reviewed-by: Alex Chiang Reviewed-by: Kenji Kaneshige Acked-by: Kenji Kaneshige Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed