Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253787
b: refs/heads/master
c: b1e698d
h: refs/heads/master
i:
  253785: 7a85ed7
  253783: 484fb55
v: v3
  • Loading branch information
Guenter Roeck committed Jun 18, 2011
1 parent f378d5b commit e71ba8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb794e0f7153918c33f2300986d995524ab711cf
refs/heads/master: b1e698db0939b04602ded2a2196ff69c92b49378
2 changes: 2 additions & 0 deletions trunk/drivers/hwmon/s3c-hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ static int s3c_hwmon_create_attr(struct device *dev,

attr = &attrs->in;
attr->index = channel;
sysfs_attr_init(&attr->dev_attr.attr);
attr->dev_attr.attr.name = attrs->in_name;
attr->dev_attr.attr.mode = S_IRUGO;
attr->dev_attr.show = s3c_hwmon_ch_show;
Expand All @@ -249,6 +250,7 @@ static int s3c_hwmon_create_attr(struct device *dev,

attr = &attrs->label;
attr->index = channel;
sysfs_attr_init(&attr->dev_attr.attr);
attr->dev_attr.attr.name = attrs->label_name;
attr->dev_attr.attr.mode = S_IRUGO;
attr->dev_attr.show = s3c_hwmon_label_show;
Expand Down

0 comments on commit e71ba8a

Please sign in to comment.