src/acpi to src/lib: Fix spelling errors
These issues were found and fixed by codespell, a useful tool for
finding spelling errors.
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I5b8ecdfe75d99028fee820a2034466a8ad1c5e63
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58080
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 2e15ea9..6417ef8 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1937,15 +1937,15 @@
return 2;
case TPM2:
return 4;
- case SSDT: /* ACPI 3.0 upto 6.3: 2 */
+ case SSDT: /* ACPI 3.0 up to 6.3: 2 */
return 2;
- case SRAT: /* ACPI 2.0: 1, ACPI 3.0: 2, ACPI 4.0 upto 6.3: 3 */
+ case SRAT: /* ACPI 2.0: 1, ACPI 3.0: 2, ACPI 4.0 up to 6.3: 3 */
return 1; /* TODO Should probably be upgraded to 2 */
case HMAT: /* ACPI 6.4: 2 */
return 2;
case DMAR:
return 1;
- case SLIT: /* ACPI 2.0 upto 6.3: 1 */
+ case SLIT: /* ACPI 2.0 up to 6.3: 1 */
return 1;
case SPMI: /* IMPI 2.0 */
return 5;
@@ -1957,13 +1957,13 @@
return IVRS_FORMAT_MIXED;
case DBG2:
return 0;
- case FACS: /* ACPI 2.0/3.0: 1, ACPI 4.0 upto 6.3: 2 */
+ case FACS: /* ACPI 2.0/3.0: 1, ACPI 4.0 up to 6.3: 2 */
return 1;
- case RSDT: /* ACPI 1.0 upto 6.3: 1 */
+ case RSDT: /* ACPI 1.0 up to 6.3: 1 */
return 1;
- case XSDT: /* ACPI 2.0 upto 6.3: 1 */
+ case XSDT: /* ACPI 2.0 up to 6.3: 1 */
return 1;
- case RSDP: /* ACPI 2.0 upto 6.3: 2 */
+ case RSDP: /* ACPI 2.0 up to 6.3: 2 */
return 2;
case EINJ:
return 1;
diff --git a/src/acpi/device.c b/src/acpi/device.c
index 4b59990..1df179b 100644
--- a/src/acpi/device.c
+++ b/src/acpi/device.c
@@ -139,7 +139,7 @@
/*
* Warning: just as with dev_path() this uses a static buffer
- * so should not be called mulitple times in one statement
+ * so should not be called multiple times in one statement
*/
const char *acpi_device_path(const struct device *dev)
{