commit | bc3b07726aa288e2a5e60d9a1dd8188b3faa7385 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Mon Sep 21 19:29:20 2009 +0000 |
committer | Len Brown <len.brown@intel.com> | Fri Sep 25 14:24:26 2009 -0400 |
tree | db83a1e3df8c2867710562462943939a3895f119 | |
parent | ccba2a36d74a9da815e597ac727cfd096fa8e750 [diff] |
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>