Commit 8241f885 authored by Corentin Labbe's avatar Corentin Labbe Committed by Guenter Roeck

hwmon: (adm1029) Add a comment for locking mutex

Checkpatch complains that mutex does not have any comment.
This patch fix that.
Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent a15ad193
......@@ -108,7 +108,7 @@ static const u8 ADM1029_REG_FAN_DIV[] = {
struct adm1029_data {
struct i2c_client *client;
struct mutex update_lock;
struct mutex update_lock; /* protect register access */
char valid; /* zero until following fields are valid */
unsigned long last_updated; /* in jiffies */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment