Skip to contentSkip to conversation

leds: blinkm: fix spelling and comment style above lock acquire

PATCH Applied Stepan Ionichev 2 participants 2 messages May 4 – May 14

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: blinkm: fix spelling and comment style above lock acquire

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.

---
 drivers/leds/leds-blinkm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/leds/leds-blinkm.c +2 -1
index 577497b9d..1978bbda4 100644
@@ -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;
 
Signature · 1 line
2.33.0.windows.2
maintainer Applied
#1 lore raw

Re: (subset) [PATCH] leds: blinkm: fix spelling and comment style above lock acquire

Quoted 8 lines · Stepan Ionichev

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 [李琼斯]