diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2019-01-18 15:03:29 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-02-18 23:23:29 +0100 |
commit | 8241f885750a3fc7325b84711ee6895ae51b261e (patch) | |
tree | 86985e7a8f895e326a903f1616149669edbfb7aa /drivers/hwmon/adm1029.c | |
parent | hwmon: (adm1029) Fix function alignment (diff) | |
download | linux-8241f885750a3fc7325b84711ee6895ae51b261e.tar.xz linux-8241f885750a3fc7325b84711ee6895ae51b261e.zip |
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/adm1029.c')
-rw-r--r-- | drivers/hwmon/adm1029.c | 2 |
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[] = { 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 */ |