arch/arm/mach-pxa: replace strict_strto call with kstrto
authorDaniel Walter <dwalter@google.com>
Fri, 8 Aug 2014 21:23:54 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:27 +0000 (15:57 -0700)
Replace obsolete call to strict_strto with kstrto

Signed-off-by: Daniel Walter <dwalter@google.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-pxa/balloon3.c
arch/arm/mach-pxa/viper.c

index 43596e0ed0515597ee786da610eaf22683e8f3f8..d897292712ebe722df54463a3db9a0bb04d36dc1 100644 (file)
@@ -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);
 
index 41f27f667ca89ccebdf0bd9b54b63f34922eb60a..de3b08073fe7604ececdd1e5dc259e0244a53201 100644 (file)
@@ -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);