Commit 37028623 authored by Daniel Walter's avatar Daniel Walter Committed by Linus Torvalds

arch/arm/mach-w90x900/cpu.c: replace obsolete strict_strto

Replace obsolete strict_strto with kstrto calls
Signed-off-by: default avatarDaniel Walter <dwalter@google.com>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5c2432cb
...@@ -178,7 +178,8 @@ static int __init nuc900_set_cpufreq(char *str) ...@@ -178,7 +178,8 @@ static int __init nuc900_set_cpufreq(char *str)
if (!*str) if (!*str)
return 0; return 0;
strict_strtoul(str, 0, &cpufreq); if (kstrtoul(str, 0, &cpufreq))
return 0;
nuc900_clock_source(NULL, "ext"); nuc900_clock_source(NULL, "ext");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment