Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */