Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221741
b: refs/heads/master
c: 4f1aa84
h: refs/heads/master
i:
  221739: 25520c9
v: v3
  • Loading branch information
Michael Hennerich authored and Linus Torvalds committed Nov 12, 2010
1 parent de47cf1 commit 0a54298
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c7ce2500e3140b728d8a98a1acb1c2690af51eae
refs/heads/master: 4f1aa846316d789ae2df6d22d6bca6e4a373e23d
4 changes: 3 additions & 1 deletion trunk/drivers/video/backlight/adp8860_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,10 @@ static ssize_t adp8860_bl_l1_daylight_max_store(struct device *dev,
struct device_attribute *attr, const char *buf, size_t count)
{
struct adp8860_bl *data = dev_get_drvdata(dev);
int ret = strict_strtoul(buf, 10, &data->cached_daylight_max);
if (ret)
return ret;

strict_strtoul(buf, 10, &data->cached_daylight_max);
return adp8860_store(dev, buf, count, ADP8860_BLMX1);
}
static DEVICE_ATTR(l1_daylight_max, 0664, adp8860_bl_l1_daylight_max_show,
Expand Down

0 comments on commit 0a54298

Please sign in to comment.