Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308943
b: refs/heads/master
c: 71d7225
h: refs/heads/master
i:
  308941: 7e5c759
  308939: e7650d7
  308935: 511eca9
  308927: 1547bde
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed May 29, 2012
1 parent 4721359 commit 8e9cce1
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: dc406f56313a4d1fae8461db894a871232043810
refs/heads/master: 71d7225cd4275e7fd7003dd6ec42320905eacc7d
4 changes: 2 additions & 2 deletions trunk/drivers/video/backlight/adp5520_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static ssize_t adp5520_store(struct device *dev, const char *buf,
unsigned long val;
int ret;

ret = strict_strtoul(buf, 10, &val);
ret = kstrtoul(buf, 10, &val);
if (ret)
return ret;

Expand Down Expand Up @@ -214,7 +214,7 @@ static ssize_t adp5520_bl_daylight_max_store(struct device *dev,
struct adp5520_bl *data = dev_get_drvdata(dev);
int ret;

ret = strict_strtoul(buf, 10, &data->cached_daylight_max);
ret = kstrtoul(buf, 10, &data->cached_daylight_max);
if (ret < 0)
return ret;

Expand Down

0 comments on commit 8e9cce1

Please sign in to comment.