ACPI: remove acpi_device_set_context() "type" argument
commitbc3b07726aa288e2a5e60d9a1dd8188b3faa7385
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:29:20 +0000 (21 19:29 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 18:24:26 +0000 (25 14:24 -0400)
treedb83a1e3df8c2867710562462943939a3895f119
parentccba2a36d74a9da815e597ac727cfd096fa8e750
ACPI: remove acpi_device_set_context() "type" argument

We only pass the "type" to acpi_device_set_context() so we know whether
the device has a handle to which we can attach the acpi_device pointer.
But it's safer to just check for the handle directly, since it's in the
acpi_device already.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c