acpi_system_add (
struct acpi_device *device)
{
- int result = 0;
ACPI_STATUS status = AE_OK;
struct acpi_system *system = NULL;
UINT8 i = 0;
// }
//#endif
- if (result)
- ExFreePoolWithTag(system, 'IPCA');
-
- return_VALUE(result);
+ return_VALUE(0);
}
static int
//}
/* disable interrupts
* Note that acpi_suspend -- our caller -- will do this once we return.
- * But, we want it done early, so we don't get any suprises during
+ * But, we want it done early, so we don't get any surprises during
* the device suspend sequence.
*/
//ACPI_DISABLE_IRQS();
status = acpi_system_suspend(state);
/* Even if we failed to go to sleep, all of the devices are in an suspended
- * mode. So, we run these unconditionaly to make sure we have a usable system
+ * mode. So, we run these unconditionally to make sure we have a usable system
* no matter what.
*/
AcpiLeaveSleepState(state);