From: Satoru Takeuchi Subject: [PATCH] fixing wrong comment Date: Thu, 02 Nov 2006 19:08:57 +0900 Message-ID: <87mz7aupmu.wl%takeuchi_satoru@jp.fujitsu.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:14767 "EHLO fgwmail7.fujitsu.co.jp") by vger.kernel.org with ESMTP id S1752774AbWKBKIo (ORCPT ); Thu, 2 Nov 2006 05:08:44 -0500 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Brown, Len" Cc: linux-acpi 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 Index: linux-2.6.19-rc4/drivers/acpi/sleep/wakeup.c =================================================================== --- linux-2.6.19-rc4.orig/drivers/acpi/sleep/wakeup.c 2006-11-02 18:25:49.000000000 +0900 +++ linux-2.6.19-rc4/drivers/acpi/sleep/wakeup.c 2006-11-02 18:30:42.000000000 +0900 @@ -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) {