Skip to content

Commit

Permalink
ACPI: update comment
Browse files Browse the repository at this point in the history
Fixing wrong description for acpi_gpe_sleep_prepare().

acpi_gpe_sleep_prepare() had only used on power off and was changed
to also used on entering some sleep state. However its description
isn't changed yet.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Satoru Takeuchi authored and Len Brown committed Nov 6, 2006
1 parent 6b15484 commit b7b09b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/acpi/sleep/wakeup.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ late_initcall(acpi_wakeup_device_init);
#endif

/*
* Disable all wakeup GPEs before power off.
*
* Disable all wakeup GPEs before entering requested sleep state.
* @sleep_state: ACPI state
* Since acpi_enter_sleep_state() will disable all
* RUNTIME GPEs, we simply mark all GPES that
* are not enabled for wakeup from S5 as RUNTIME.
* are not enabled for wakeup from requested state as RUNTIME.
*/
void acpi_gpe_sleep_prepare(u32 sleep_state)
{
Expand Down

0 comments on commit b7b09b1

Please sign in to comment.