From 257464a03c38f517742d7ee529d65115169dddad Mon Sep 17 00:00:00 2001 From: Daniel Walter Date: Thu, 26 Jun 2014 10:43:15 +1000 Subject: [PATCH] arch/arm/mach-w90x900/cpu.c: replace obsolete strict_strto Replace obsolete strict_strto with kstrto calls Signed-off-by: Daniel Walter Cc: Wan ZongShun Signed-off-by: Andrew Morton --- arch/arm/mach-w90x900/cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- 2.39.5