Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138443
b: refs/heads/master
c: 2e74778
h: refs/heads/master
i:
  138441: 9e4a478
  138439: 45003cd
v: v3
  • Loading branch information
roel kluin authored and Benjamin Herrenschmidt committed Feb 11, 2009
1 parent 4b622c8 commit 8b7e49a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: c3bd517de67d33c44059656194e316facef181a5
refs/heads/master: 2e74778c76521f180516a593fb2b2786d6fffa4e
4 changes: 2 additions & 2 deletions trunk/drivers/macintosh/therm_adt746x.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ static ssize_t store_##name(struct device *dev, struct device_attribute *attr, c
#define BUILD_STORE_FUNC_INT(name, data) \
static ssize_t store_##name(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) \
{ \
u32 val; \
val = simple_strtoul(buf, NULL, 10); \
int val; \
val = simple_strtol(buf, NULL, 10); \
if (val < 0 || val > 255) \
return -EINVAL; \
printk(KERN_INFO "Setting specified fan speed to %d\n", val); \
Expand Down

0 comments on commit 8b7e49a

Please sign in to comment.