提交 4fce45b4 编写于 作者: D Daniel Walter 提交者: Linus Torvalds

arch/arm/mach-pxa: replace strict_strto call with kstrto

Replace obsolete call to strict_strto with kstrto
Signed-off-by: NDaniel Walter <dwalter@google.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 056610ac
...@@ -90,7 +90,7 @@ int __init parse_balloon3_features(char *arg) ...@@ -90,7 +90,7 @@ int __init parse_balloon3_features(char *arg)
if (!arg) if (!arg)
return 0; return 0;
return strict_strtoul(arg, 0, &balloon3_features_present); return kstrtoul(arg, 0, &balloon3_features_present);
} }
early_param("balloon3_features", parse_balloon3_features); early_param("balloon3_features", parse_balloon3_features);
......
...@@ -769,7 +769,7 @@ static unsigned long viper_tpm; ...@@ -769,7 +769,7 @@ static unsigned long viper_tpm;
static int __init viper_tpm_setup(char *str) static int __init viper_tpm_setup(char *str)
{ {
return strict_strtoul(str, 10, &viper_tpm) >= 0; return kstrtoul(str, 10, &viper_tpm) >= 0;
} }
__setup("tpm=", viper_tpm_setup); __setup("tpm=", viper_tpm_setup);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册