]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ACPI: Fix typos
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 21 Jul 2025 21:37:14 +0000 (16:37 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jul 2025 15:12:41 +0000 (17:12 +0200)
Fix typos in documentation and comments.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250722132653.GA2781885@bhelgaas
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/ABI/testing/sysfs-firmware-acpi
Documentation/firmware-guide/acpi/gpio-properties.rst
drivers/acpi/bus.c

index f4de60c4134d40786062648614ebebdff91e124b..72e7c9161ce7a792a9512339780d2ea37e493de7 100644 (file)
@@ -108,15 +108,15 @@ Description:
                number of a "General Purpose Events" (GPE).
 
                A GPE vectors to a specified handler in AML, which
-               can do a anything the BIOS writer wants from
+               can do anything the BIOS writer wants from
                OS context.  GPE 0x12, for example, would vector
                to a level or edge handler called _L12 or _E12.
                The handler may do its business and return.
-               Or the handler may send send a Notify event
+               Or the handler may send a Notify event
                to a Linux device driver registered on an ACPI device,
                such as a battery, or a processor.
 
-               To figure out where all the SCI's are coming from,
+               To figure out where all the SCIs are coming from,
                /sys/firmware/acpi/interrupts contains a file listing
                every possible source, and the count of how many
                times it has triggered::
index db0c0b1f370081691d1e2b14b7445a677064e5d5..1e603189b5b1481302e24b87915edb267a598e3a 100644 (file)
@@ -92,8 +92,8 @@ and polarity settings. The table below shows the expectations:
 |             | Low         | as low, assuming active                       |
 +-------------+-------------+-----------------------------------------------+
 
-That said, for our above example the both GPIOs, since the bias setting
-is explicit and _DSD is present, will be treated as active with a high
+That said, for our above example, since the bias setting is explicit and
+_DSD is present, both GPIOs will be treated as active with a high
 polarity and Linux will configure the pins in this state until a driver
 reprograms them differently.
 
index c2ab2783303f2108ccb999895f3c075eb52f2ec3..a984ccd4a2a0c17b527f2f6a507b175c136b7c1e 100644 (file)
@@ -1406,7 +1406,7 @@ static int __init acpi_bus_init(void)
                goto error1;
 
        /*
-        * Register the for all standard device notifications.
+        * Register for all standard device notifications.
         */
        status =
            acpi_install_notify_handler(ACPI_ROOT_OBJECT, ACPI_SYSTEM_NOTIFY,