Use the acpi_event_sleep_button_sleep() function instead of

the acpi_SetSleepState().

Submitted by:	njl
This commit is contained in:
Yoshihiro Takahashi 2006-06-06 15:20:06 +00:00
parent 0d5c337bef
commit d6da5e88de

View file

@ -455,7 +455,7 @@ acpi_panasonic_hkey_action(struct acpi_panasonic_softc *sc, ACPI_HANDLE h,
break;
case 7:
/* Suspend. */
acpi_SetSleepState(acpi_sc, ACPI_STATE_S3);
acpi_event_sleep_button_sleep(acpi_sc);
break;
}
}