diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-05-31 21:35:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-03 00:39:46 -0700 |
commit | 6b1ea4b299ca19a7a2713b38366ac2829fe55883 (patch) | |
tree | 76dee28e00617a3c41edc9c1dff752b18f8396f3 /drivers | |
parent | 27d7f47756f40fb1bc3159e09217f740f5c5b5b1 (diff) | |
download | op-kernel-dev-6b1ea4b299ca19a7a2713b38366ac2829fe55883.zip op-kernel-dev-6b1ea4b299ca19a7a2713b38366ac2829fe55883.tar.gz |
ssb: sprom: 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')
-rw-r--r-- | drivers/ssb/sprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ssb/sprom.c b/drivers/ssb/sprom.c index a3b2364..e753fbe 100644 --- a/drivers/ssb/sprom.c +++ b/drivers/ssb/sprom.c @@ -54,7 +54,7 @@ static int hex2sprom(u16 *sprom, const char *dump, size_t len, while (cnt < sprom_size_words) { memcpy(tmp, dump, 4); dump += 4; - err = strict_strtoul(tmp, 16, &parsed); + err = kstrtoul(tmp, 16, &parsed); if (err) return err; sprom[cnt++] = swab16((u16)parsed); |