]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
leds: blinkm: Fix spelling and comment style above lock acquire
authorStepan Ionichev <sozdayvek@gmail.com>
Mon, 4 May 2026 12:37:30 +0000 (17:37 +0500)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:28:22 +0000 (11:28 +0100)
Fix two issues in the comment above mutex_lock_interruptible() in
blinkm_transfer_hw():

  - Spelling mistake (Aquire -> Acquire).
  - Trailing "*/" was on the same line as text; move it to its own
    line to match kernel coding style.

No functional change.

Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
Link: https://patch.msgid.link/20260504123730.1094-1-sozdayvek@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-blinkm.c

index 577497b9d426b8de0f4e67fe0f98453f56430a45..1978bbda47dbcd2af2ef4543590a9d3ee5bed714 100644 (file)
@@ -356,7 +356,8 @@ static int blinkm_transfer_hw(struct i2c_client *client, int cmd)
        struct blinkm_data *data = i2c_get_clientdata(client);
 
        /* We start hardware transfers which are not to be
-        * mixed with other commands. Aquire a lock now. */
+        * mixed with other commands. Acquire a lock now.
+        */
        if (mutex_lock_interruptible(&data->update_lock) < 0)
                return -EAGAIN;