diff options
author | Daniel Walter <dwalter@google.com> | 2014-08-08 23:23:59 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-09 00:57:28 +0200 |
commit | 37028623d78c7289af0a044202a16c1dd0482b6e (patch) | |
tree | 82c68057dccf6a671bea3a84a3ebf57b1bd18f9f /arch/arm/mach-w90x900 | |
parent | arch/arm/mach-s3c24xx/mach-jive.c: replace strict_strto* with kstrto* (diff) | |
download | linux-37028623d78c7289af0a044202a16c1dd0482b6e.tar.xz linux-37028623d78c7289af0a044202a16c1dd0482b6e.zip |
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.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"); |