diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-05-31 23:24:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-03 09:39:46 +0200 |
commit | 27d7f47756f40fb1bc3159e09217f740f5c5b5b1 (patch) | |
tree | c4f2d3368efab3eaf4bb6bca9499a62dd688e131 /drivers/net/wireless/libertas | |
parent | net: ethernet: replace strict_strtoul() with kstrtoul() (diff) | |
download | linux-27d7f47756f40fb1bc3159e09217f740f5c5b5b1.tar.xz linux-27d7f47756f40fb1bc3159e09217f740f5c5b5b1.zip |
net: wireless: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/mesh.c b/drivers/net/wireless/libertas/mesh.c index 3e81264db81e..efae07e05c80 100644 --- a/drivers/net/wireless/libertas/mesh.c +++ b/drivers/net/wireless/libertas/mesh.c @@ -240,7 +240,7 @@ static ssize_t lbs_prb_rsp_limit_set(struct device *dev, memset(&mesh_access, 0, sizeof(mesh_access)); mesh_access.data[0] = cpu_to_le32(CMD_ACT_SET); - if (!strict_strtoul(buf, 10, &retry_limit)) + if (!kstrtoul(buf, 10, &retry_limit)) return -ENOTSUPP; if (retry_limit > 15) return -ENOTSUPP; |