]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arch/arm/mach-pxa: replace strict_strto call with kstrto
authorDaniel Walter <dwalter@google.com>
Thu, 26 Jun 2014 00:43:14 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 27 Jun 2014 04:21:47 +0000 (14:21 +1000)
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>
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);