fix minor typos in ACPI driver
Subsystems (2)
PATCH 1/1 fix minor typos in ACPI driver
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 <[email protected]>
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(-)
drivers/acpi/sleep/wakeup.c +3 -3
@@ -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) {
drivers/acpi/events/evgpeblk.c +4 -4
@@ -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 *
drivers/acpi/hardware/hwgpe.c +4 -4
@@ -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 *
include/acpi/acpi_bus.h +1 -1
@@ -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;
Quoted 1 line · Satoru Takeuchi
+ * Disable all wakeup GPEs before enter requested sleep state.
... entering ...
Signature · 1 line
Dmitry
At Fri, 10 Feb 2006 22:48:10 -0500,
Quoted 5 lines · Dmitry Torokhov
Quoted 1 line · Satoru Takeuchi
+ * 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(-)
drivers/acpi/sleep/wakeup.c +3 -3
@@ -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) {
drivers/acpi/events/evgpeblk.c +4 -4
@@ -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 *
drivers/acpi/hardware/hwgpe.c +4 -4
@@ -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 *
include/acpi/acpi_bus.h +1 -1
@@ -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;