[PATCH v2] ACPICA: cleanup double word in comment

trix@redhat.com posted 1 patch 4 years, 4 months ago
drivers/acpi/acpica/exfldio.c | 2 +-
drivers/acpi/acpica/hwregs.c  | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH v2] ACPICA: cleanup double word in comment
Posted by trix@redhat.com 4 years, 4 months ago
From: Tom Rix <trix@redhat.com>

Remove the second 'than' and 'know'.

Signed-off-by: Tom Rix <trix@redhat.com>
---
v2: combine two cleanups to one patch

drivers/acpi/acpica/exfldio.c | 2 +-
 drivers/acpi/acpica/hwregs.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
index bdc7a30d1217c..b92605df3872c 100644
--- a/drivers/acpi/acpica/exfldio.c
+++ b/drivers/acpi/acpica/exfldio.c
@@ -104,7 +104,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
 #ifdef ACPI_UNDER_DEVELOPMENT
 	/*
 	 * If the Field access is any_acc, we can now compute the optimal
-	 * access (because we know know the length of the parent region)
+	 * access (because we know the length of the parent region)
 	 */
 	if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
 		if (ACPI_FAILURE(status)) {
diff --git a/drivers/acpi/acpica/hwregs.c b/drivers/acpi/acpica/hwregs.c
index 69603ba52a3ac..f62d5d0242058 100644
--- a/drivers/acpi/acpica/hwregs.c
+++ b/drivers/acpi/acpica/hwregs.c
@@ -446,7 +446,7 @@ struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id)
  * RETURN:      Status
  *
  * DESCRIPTION: Write the PM1 A/B control registers. These registers are
- *              different than than the PM1 A/B status and enable registers
+ *              different than the PM1 A/B status and enable registers
  *              in that different values can be written to the A/B registers.
  *              Most notably, the SLP_TYP bits can be different, as per the
  *              values returned from the _Sx predefined methods.
-- 
2.26.3