From: Daniel Walter Date: Fri, 8 Aug 2014 21:23:54 +0000 (-0700) Subject: arch/arm/mach-pxa: replace strict_strto call with kstrto X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4fce45b44bdbf293bc1aed5526e4da90f32eb8eb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git arch/arm/mach-pxa: replace strict_strto call with kstrto Replace obsolete call to strict_strto with kstrto Signed-off-by: Daniel Walter Cc: Eric Miao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/arm/mach-pxa/balloon3.c b/arch/arm/mach-pxa/balloon3.c index 43596e0ed051..d897292712eb 100644 --- a/arch/arm/mach-pxa/balloon3.c +++ b/arch/arm/mach-pxa/balloon3.c @@ -90,7 +90,7 @@ int __init parse_balloon3_features(char *arg) if (!arg) return 0; - return strict_strtoul(arg, 0, &balloon3_features_present); + return kstrtoul(arg, 0, &balloon3_features_present); } early_param("balloon3_features", parse_balloon3_features); diff --git a/arch/arm/mach-pxa/viper.c b/arch/arm/mach-pxa/viper.c index 41f27f667ca8..de3b08073fe7 100644 --- a/arch/arm/mach-pxa/viper.c +++ b/arch/arm/mach-pxa/viper.c @@ -769,7 +769,7 @@ static unsigned long viper_tpm; 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);