leds: blinkm: fix spelling and comment style above lock acquire
Subsystems (2)
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.
Signed-off-by Stepan Ionichev <[email protected]>
--- drivers/leds/leds-blinkm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/leds/leds-blinkm.c +2 -1
@@ -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
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()inblinkm_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 [李琼斯]