Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302241
b: refs/heads/master
c: 85960e7
h: refs/heads/master
i:
  302239: d0ba97e
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Apr 19, 2012
1 parent 17d6c76 commit a738269
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: a67f7e6b601ab55067d02de42e89be34c4b6f345
refs/heads/master: 85960e7b3a212e5a895ba5b341cb4a18d0225a89
8 changes: 4 additions & 4 deletions trunk/drivers/regulator/virtual.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr,
struct virtual_consumer_data *data = dev_get_drvdata(dev);
long val;

if (strict_strtol(buf, 10, &val) != 0)
if (kstrtol(buf, 10, &val) != 0)
return count;

mutex_lock(&data->lock);
Expand All @@ -147,7 +147,7 @@ static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr,
struct virtual_consumer_data *data = dev_get_drvdata(dev);
long val;

if (strict_strtol(buf, 10, &val) != 0)
if (kstrtol(buf, 10, &val) != 0)
return count;

mutex_lock(&data->lock);
Expand All @@ -173,7 +173,7 @@ static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr,
struct virtual_consumer_data *data = dev_get_drvdata(dev);
long val;

if (strict_strtol(buf, 10, &val) != 0)
if (kstrtol(buf, 10, &val) != 0)
return count;

mutex_lock(&data->lock);
Expand All @@ -199,7 +199,7 @@ static ssize_t set_max_uA(struct device *dev, struct device_attribute *attr,
struct virtual_consumer_data *data = dev_get_drvdata(dev);
long val;

if (strict_strtol(buf, 10, &val) != 0)
if (kstrtol(buf, 10, &val) != 0)
return count;

mutex_lock(&data->lock);
Expand Down

0 comments on commit a738269

Please sign in to comment.