diff mbox series

acpi/acpica: fix repeated words in comments

Message ID 20220710045218.55021-1-yuanjilin@cdjrlc.com
State New
Headers show
Series acpi/acpica: fix repeated words in comments | expand

Commit Message

Jilin Yuan July 10, 2022, 4:52 a.m. UTC
Delete the redundant word 'is'.
 Delete the redundant word 'a'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/acpi/acpica/exconvrt.c | 2 +-
 drivers/acpi/acpica/nsprepkg.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/acpi/acpica/exconvrt.c b/drivers/acpi/acpica/exconvrt.c
index 8de5d47ad485..7a66a70fa974 100644
--- a/drivers/acpi/acpica/exconvrt.c
+++ b/drivers/acpi/acpica/exconvrt.c
@@ -446,7 +446,7 @@  acpi_ex_convert_to_string(union acpi_operand_object * obj_desc,
 			 * Explicit conversion from the to_decimal_string ASL operator.
 			 *
 			 * From ACPI: "If the input is a buffer, it is converted to a
-			 * a string of decimal values separated by commas."
+			 * string of decimal values separated by commas."
 			 */
 			base = 10;
 
diff --git a/drivers/acpi/acpica/nsprepkg.c b/drivers/acpi/acpica/nsprepkg.c
index 82932c9a774b..2afc5baa325c 100644
--- a/drivers/acpi/acpica/nsprepkg.c
+++ b/drivers/acpi/acpica/nsprepkg.c
@@ -540,7 +540,7 @@  acpi_ns_check_package_list(struct acpi_evaluate_info *info,
 
 			/*
 			 * Make sure package is large enough for the Count and is
-			 * is as large as the minimum size
+			 * as large as the minimum size
 			 */
 			expected_count = (u32)(*sub_elements)->integer.value;
 			if (sub_package->package.count < expected_count) {