From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
To: "Brown, Len" <len.brown@intel.com>
Cc: linux-acpi <linux-acpi@vger.kernel.org>
Subject: [PATCH] fix minor typos in ACPI driver
Date: Thu, 09 Feb 2006 17:44:45 +0900 [thread overview]
Message-ID: <873bisncoy.wl%takeuchi_satoru@jp.fujitsu.com> (raw)
Hi,
I found some typos in ACPI driver. This patch fixes it.
Thanks,
Satoru Takeuchi
This patch fixes some minor typos in ACPI drivers.
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
drivers/acpi/events/evgpeblk.c | 8 ++++----
drivers/acpi/hardware/hwgpe.c | 8 ++++----
drivers/acpi/sleep/wakeup.c | 6 +++---
include/acpi/acpi_bus.h | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
Index: linux-2.6.16-rc2/drivers/acpi/sleep/wakeup.c
===================================================================
--- linux-2.6.16-rc2.orig/drivers/acpi/sleep/wakeup.c 2006-02-09 17:38:06.000000000 +0900
+++ linux-2.6.16-rc2/drivers/acpi/sleep/wakeup.c 2006-02-09 17:38:49.000000000 +0900
@@ -186,11 +186,11 @@
#endif
/*
- * Disable all wakeup GPEs before power off.
- *
+ * Disable all wakeup GPEs before enter 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)
{
Index: linux-2.6.16-rc2/drivers/acpi/events/evgpeblk.c
===================================================================
--- linux-2.6.16-rc2.orig/drivers/acpi/events/evgpeblk.c 2006-02-09 17:38:06.000000000 +0900
+++ linux-2.6.16-rc2/drivers/acpi/events/evgpeblk.c 2006-02-09 17:39:30.000000000 +0900
@@ -146,7 +146,7 @@
gpe_xrupt_info = acpi_gbl_gpe_xrupt_list_head;
while (gpe_xrupt_info) {
- /* Walk all Gpe Blocks attached to this interrupt level */
+ /* Walk all GPE Blocks attached to this interrupt level */
gpe_block = gpe_xrupt_info->gpe_block_list_head;
while (gpe_block) {
@@ -173,7 +173,7 @@
* FUNCTION: acpi_ev_delete_gpe_handlers
*
* PARAMETERS: gpe_xrupt_info - GPE Interrupt info
- * gpe_block - Gpe Block info
+ * gpe_block - GPE Block info
*
* RETURN: Status
*
@@ -428,7 +428,7 @@
*
* TRUE iff these conditions are true:
* 1) The GPE devices match.
- * 2) The GPE index(number) is within the range of the Gpe Block
+ * 2) The GPE index(number) is within the range of the GPE Block
* associated with the GPE device.
*/
if ((gpe_device == target_gpe_device) &&
@@ -948,7 +948,7 @@
* FUNCTION: acpi_ev_initialize_gpe_block
*
* PARAMETERS: gpe_device - Handle to the parent GPE block
- * gpe_block - Gpe Block info
+ * gpe_block - GPE Block info
*
* RETURN: Status
*
Index: linux-2.6.16-rc2/drivers/acpi/hardware/hwgpe.c
===================================================================
--- linux-2.6.16-rc2.orig/drivers/acpi/hardware/hwgpe.c 2006-02-09 17:38:06.000000000 +0900
+++ linux-2.6.16-rc2/drivers/acpi/hardware/hwgpe.c 2006-02-09 17:38:49.000000000 +0900
@@ -196,7 +196,7 @@
* FUNCTION: acpi_hw_disable_gpe_block
*
* PARAMETERS: gpe_xrupt_info - GPE Interrupt info
- * gpe_block - Gpe Block info
+ * gpe_block - GPE Block info
*
* RETURN: Status
*
@@ -232,7 +232,7 @@
* FUNCTION: acpi_hw_clear_gpe_block
*
* PARAMETERS: gpe_xrupt_info - GPE Interrupt info
- * gpe_block - Gpe Block info
+ * gpe_block - GPE Block info
*
* RETURN: Status
*
@@ -268,7 +268,7 @@
* FUNCTION: acpi_hw_enable_runtime_gpe_block
*
* PARAMETERS: gpe_xrupt_info - GPE Interrupt info
- * gpe_block - Gpe Block info
+ * gpe_block - GPE Block info
*
* RETURN: Status
*
@@ -314,7 +314,7 @@
* FUNCTION: acpi_hw_enable_wakeup_gpe_block
*
* PARAMETERS: gpe_xrupt_info - GPE Interrupt info
- * gpe_block - Gpe Block info
+ * gpe_block - GPE Block info
*
* RETURN: Status
*
Index: linux-2.6.16-rc2/include/acpi/acpi_bus.h
===================================================================
--- linux-2.6.16-rc2.orig/include/acpi/acpi_bus.h 2006-02-09 17:38:06.000000000 +0900
+++ linux-2.6.16-rc2/include/acpi/acpi_bus.h 2006-02-09 17:38:49.000000000 +0900
@@ -269,7 +269,7 @@
struct acpi_device_wakeup {
acpi_handle gpe_device;
- acpi_integer gpe_number;;
+ acpi_integer gpe_number;
acpi_integer sleep_state;
struct acpi_handle_list resources;
struct acpi_device_wakeup_state state;
next reply other threads:[~2006-02-09 8:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-09 8:44 Satoru Takeuchi [this message]
2006-02-11 3:48 ` [PATCH] fix minor typos in ACPI driver Dmitry Torokhov
2006-02-13 1:16 ` Satoru Takeuchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873bisncoy.wl%takeuchi_satoru@jp.fujitsu.com \
--to=takeuchi_satoru@jp.fujitsu.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox