projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a15ad19
)
hwmon: (adm1029) Add a comment for locking mutex
author
Corentin Labbe
<clabbe.montjoie@gmail.com>
Fri, 18 Jan 2019 14:03:29 +0000
(15:03 +0100)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 18 Feb 2019 22:23:29 +0000
(14:23 -0800)
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>
drivers/hwmon/adm1029.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/adm1029.c
b/drivers/hwmon/adm1029.c
index e9fe4fc3489e9961f5c3924ea4232b4510c9e619..e561279aea21bd037f734da9b859efe238a4932f 100644
(file)
--- 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 */