diff options
author | Daniel Walter <dwalter@google.com> | 2014-07-23 09:12:56 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-07-28 20:51:05 +1000 |
commit | ebf50647f4f223a5981d1d7ae339971875413e9e (patch) | |
tree | cf1e2d3a508943e27077c8efc974e1bc86b4f716 /arch | |
parent | 729a2e051c5677e0a7beeab9fb5b531a4ca61183 (diff) |
arch/arm/mach-w90x900/cpu.c: replace obsolete strict_strto
Replace obsolete strict_strto with kstrto calls
Signed-off-by: Daniel Walter <dwalter@google.com>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-w90x900/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c index b1eabaad50a5..213230ee57d1 100644 --- a/arch/arm/mach-w90x900/cpu.c +++ b/arch/arm/mach-w90x900/cpu.c @@ -178,7 +178,8 @@ static int __init nuc900_set_cpufreq(char *str) if (!*str) return 0; - strict_strtoul(str, 0, &cpufreq); + if (kstrtoul(str, 0, &cpufreq)) + return 0; nuc900_clock_source(NULL, "ext"); |