From: Corentin Labbe Date: Fri, 18 Jan 2019 14:03:29 +0000 (+0100) Subject: hwmon: (adm1029) Add a comment for locking mutex X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8241f885750a3fc7325b84711ee6895ae51b261e;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/adm1029.c b/drivers/hwmon/adm1029.c index e9fe4fc3489e..e561279aea21 100644 --- a/drivers/hwmon/adm1029.c +++ b/drivers/hwmon/adm1029.c @@ -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 */