PCI: hotplug: acpiphp_ibm: Remove get device information
commit498fbb5d411fc8f6207c210796c9308bf54a51a5
authorGary Hade <garyhade@us.ibm.com>
Wed, 6 Feb 2008 23:43:05 +0000 (6 15:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:34:35 +0000 (21 15:34 -0800)
treed9f12f253e1b9339a4bc867cfadcc10b6a2f6722
parente80af3a8dbbbf431b2070cc760699f01c5a6ac69
PCI: hotplug: acpiphp_ibm: Remove get device information

drivers/pci/hotplug/acpiphp_ibm.c:ibm_find_acpi_device() is not
large enough to accommodate data returned by the _CID method
executed from acpi_get_object_info().

This patch eliminates the problem by letting ACPI code
(instead of driver code) determine and obtain a correctly
sized buffer.

Signed-off-by: Gary Hade <garyhade@us.ibm.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/acpiphp_ibm.c