summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900
diff options
context:
space:
mode:
authorDaniel Walter <dwalter@google.com>2014-08-08 17:23:59 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 18:57:28 -0400
commit37028623d78c7289af0a044202a16c1dd0482b6e (patch)
tree82c68057dccf6a671bea3a84a3ebf57b1bd18f9f /arch/arm/mach-w90x900
parent5c2432cbe87d693879c11b0e39a32d2528233c64 (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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r--arch/arm/mach-w90x900/cpu.c3
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)
178 if (!*str) 178 if (!*str)
179 return 0; 179 return 0;
180 180
181 strict_strtoul(str, 0, &cpufreq); 181 if (kstrtoul(str, 0, &cpufreq))
182 return 0;
182 183
183 nuc900_clock_source(NULL, "ext"); 184 nuc900_clock_source(NULL, "ext");
184 185