public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix minor typos in ACPI driver
@ 2006-02-09  8:44 Satoru Takeuchi
  2006-02-11  3:48 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Satoru Takeuchi @ 2006-02-09  8:44 UTC (permalink / raw)
  To: Brown, Len; +Cc: linux-acpi

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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix minor typos in ACPI driver
  2006-02-09  8:44 [PATCH] fix minor typos in ACPI driver Satoru Takeuchi
@ 2006-02-11  3:48 ` Dmitry Torokhov
  2006-02-13  1:16   ` Satoru Takeuchi
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2006-02-11  3:48 UTC (permalink / raw)
  To: Satoru Takeuchi; +Cc: Brown, Len, linux-acpi

On Thursday 09 February 2006 03:44, Satoru Takeuchi wrote:
> + * Disable all wakeup GPEs before enter requested sleep state.

... entering ...

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix minor typos in ACPI driver
  2006-02-11  3:48 ` Dmitry Torokhov
@ 2006-02-13  1:16   ` Satoru Takeuchi
  0 siblings, 0 replies; 3+ messages in thread
From: Satoru Takeuchi @ 2006-02-13  1:16 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Satoru Takeuchi, Brown, Len, linux-acpi

At Fri, 10 Feb 2006 22:48:10 -0500,
Dmitry Torokhov wrote:
> 
> On Thursday 09 February 2006 03:44, Satoru Takeuchi wrote:
> > + * Disable all wakeup GPEs before enter requested sleep state.
> 
> ... entering ...

Oh, sorry. This is fixed one.

Thanks,

Satoru Takeuchi

 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-13 10:04:16.000000000 +0900
+++ linux-2.6.16-rc2/drivers/acpi/sleep/wakeup.c	2006-02-13 10:10:32.000000000 +0900
@@ -186,11 +186,11 @@
 #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)
 {
Index: linux-2.6.16-rc2/drivers/acpi/events/evgpeblk.c
===================================================================
--- linux-2.6.16-rc2.orig/drivers/acpi/events/evgpeblk.c	2006-02-13 10:04:16.000000000 +0900
+++ linux-2.6.16-rc2/drivers/acpi/events/evgpeblk.c	2006-02-13 10:04:22.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-13 10:04:16.000000000 +0900
+++ linux-2.6.16-rc2/drivers/acpi/hardware/hwgpe.c	2006-02-13 10:04:22.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-13 10:04:16.000000000 +0900
+++ linux-2.6.16-rc2/include/acpi/acpi_bus.h	2006-02-13 10:04:22.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;


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-13  1:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09  8:44 [PATCH] fix minor typos in ACPI driver Satoru Takeuchi
2006-02-11  3:48 ` Dmitry Torokhov
2006-02-13  1:16   ` Satoru Takeuchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox