Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73644
b: refs/heads/master
c: 7768aa7
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Mark M. Hoffman committed Nov 8, 2007
1 parent 276174b commit f630d9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dcbd9f68aea41d22d5bd37468409da33151b4202
refs/heads/master: 7768aa76966f06c4add6ac2b0ef397ff34f3dab0
3 changes: 2 additions & 1 deletion trunk/drivers/hwmon/w83781d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1122,12 +1122,13 @@ w83781d_create_files(struct device *dev, int kind, int is_isa)
&sensor_dev_attr_temp3_beep.dev_attr)))
return err;

if (kind != w83781d)
if (kind != w83781d) {
err = sysfs_chmod_file(&dev->kobj,
&sensor_dev_attr_temp3_alarm.dev_attr.attr,
S_IRUGO | S_IWUSR);
if (err)
return err;
}
}

if (kind != w83781d && kind != as99127f) {
Expand Down

0 comments on commit f630d9e

Please sign in to comment.