From: Daniel Walter Date: Fri, 8 Aug 2014 21:23:59 +0000 (-0700) Subject: arch/arm/mach-w90x900/cpu.c: replace obsolete strict_strto X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37028623d78c7289af0a044202a16c1dd0482b6e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Linus Torvalds --- 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");