aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2019-01-18 09:03:29 -0500
committerGuenter Roeck <linux@roeck-us.net>2019-02-18 17:23:29 -0500
commit8241f885750a3fc7325b84711ee6895ae51b261e (patch)
tree86985e7a8f895e326a903f1616149669edbfb7aa /drivers/hwmon
parenta15ad1935055846e1349adde2c1e32ffe2b818e8 (diff)
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/adm1029.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
108 108
109struct adm1029_data { 109struct adm1029_data {
110 struct i2c_client *client; 110 struct i2c_client *client;
111 struct mutex update_lock; 111 struct mutex update_lock; /* protect register access */
112 char valid; /* zero until following fields are valid */ 112 char valid; /* zero until following fields are valid */
113 unsigned long last_updated; /* in jiffies */ 113 unsigned long last_updated; /* in jiffies */
114 114