Skip to content

Commit

Permalink
wl12xx: strict_stroul introduced converted to kstrtoul
Browse files Browse the repository at this point in the history
One new patch applied added a couple of new strict_strtoul calls.
Converted those to kstroul().

Signed-off-by: Luciano Coelho <coelho@ti.com>
  • Loading branch information
Luciano Coelho committed May 2, 2011
1 parent 86c438f commit f7c7c7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/wl12xx/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static ssize_t dtim_interval_write(struct file *file,
return -EFAULT;
buf[len] = '\0';

ret = strict_strtoul(buf, 0, &value);
ret = kstrtoul(buf, 0, &value);
if (ret < 0) {
wl1271_warning("illegal value for dtim_interval");
return -EINVAL;
Expand Down Expand Up @@ -386,7 +386,7 @@ static ssize_t beacon_interval_write(struct file *file,
return -EFAULT;
buf[len] = '\0';

ret = strict_strtoul(buf, 0, &value);
ret = kstrtoul(buf, 0, &value);
if (ret < 0) {
wl1271_warning("illegal value for beacon_interval");
return -EINVAL;
Expand Down

0 comments on commit f7c7c7e

Please sign in to comment.