1
0
Fork 0

hwmon: (adm1029) Add a comment for locking mutex

Checkpatch complains that mutex does not have any comment.
This patch fix that.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
hifive-unleashed-5.1
Corentin Labbe 2019-01-18 15:03:29 +01:00 committed by Guenter Roeck
parent a15ad19350
commit 8241f88575
1 changed files with 1 additions and 1 deletions

View File

@ -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 */