Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104723
b: refs/heads/master
c: 2871f55
h: refs/heads/master
i:
  104721: fa97290
  104719: b540b10
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 22, 2008
1 parent 50c0ed6 commit 0cdb564
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: 0fd15a18d876a9571cc5b88a5d1716dfccb8e493
refs/heads/master: 2871f55237e2aaa00fd724ce45b47e567974045f
3 changes: 2 additions & 1 deletion trunk/drivers/hwmon/hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ struct device *hwmon_device_register(struct device *dev)
return ERR_PTR(err);

id = id & MAX_ID_MASK;
hwdev = device_create(hwmon_class, dev, MKDEV(0,0), HWMON_ID_FORMAT, id);
hwdev = device_create_drvdata(hwmon_class, dev, MKDEV(0, 0), NULL,
HWMON_ID_FORMAT, id);

if (IS_ERR(hwdev)) {
spin_lock(&idr_lock);
Expand Down

0 comments on commit 0cdb564

Please sign in to comment.