[PATCH] leds: blinkm: fix spelling and comment style above lock acquire

Stepan Ionichev posted 1 patch 1 month, 1 week ago
drivers/leds/leds-blinkm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] leds: blinkm: fix spelling and comment style above lock acquire
Posted by Stepan Ionichev 1 month, 1 week ago
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>
---
 drivers/leds/leds-blinkm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/leds/leds-blinkm.c b/drivers/leds/leds-blinkm.c
index 577497b9d..1978bbda4 100644
--- a/drivers/leds/leds-blinkm.c
+++ b/drivers/leds/leds-blinkm.c
@@ -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;
 
-- 
2.33.0.windows.2
Re: (subset) [PATCH] leds: blinkm: fix spelling and comment style above lock acquire
Posted by Lee Jones 1 month ago
On Mon, 04 May 2026 17:37:30 +0500, Stepan Ionichev wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] leds: blinkm: fix spelling and comment style above lock acquire
      commit: fbc62317dd6476260df09994729898eb523344a9

--
Lee Jones [李琼斯]