diff options
author | Luciano Coelho <coelho@ti.com> | 2011-04-01 10:49:54 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-04-19 09:49:21 -0400 |
commit | 6277ed65704d19377b0874618e5f23d64c9e71a6 (patch) | |
tree | 1fba6ddb1216a9da6d092f69076759d755f652fa /drivers/net/wireless/wl12xx/debugfs.c | |
parent | 341b7cde6ccc60672fcd7fc84dd24a1b7c0b8d94 (diff) |
wl12xx: use kstrtoul functions
Use the new kstrtoul functions instead of the deprecated strict_strtoul().
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/debugfs.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/debugfs.c b/drivers/net/wireless/wl12xx/debugfs.c index 8e75b09723b9..70ab1986788e 100644 --- a/drivers/net/wireless/wl12xx/debugfs.c +++ b/drivers/net/wireless/wl12xx/debugfs.c | |||
@@ -267,7 +267,7 @@ static ssize_t gpio_power_write(struct file *file, | |||
267 | } | 267 | } |
268 | buf[len] = '\0'; | 268 | buf[len] = '\0'; |
269 | 269 | ||
270 | ret = strict_strtoul(buf, 0, &value); | 270 | ret = kstrtoul(buf, 0, &value); |
271 | if (ret < 0) { | 271 | if (ret < 0) { |
272 | wl1271_warning("illegal value in gpio_power"); | 272 | wl1271_warning("illegal value in gpio_power"); |
273 | return -EINVAL; | 273 | return -EINVAL; |