mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
5c2432cbe8
commit
37028623d7
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue