]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arch/arm/mach-s3c24xx/mach-jive.c: replace strict_strto* with kstrto*
authorDaniel Walter <dwalter@google.com>
Fri, 8 Aug 2014 21:23:57 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:28 +0000 (15:57 -0700)
Replace obsolete strict_strto call with kstrto

Signed-off-by: Daniel Walter <dwalter@google.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-s3c24xx/mach-jive.c

index e81ea82c55f9de9269a680e4d84f7cb710648963..bac9bb5fa2659a9332d7496d743c7901be282c8d 100644 (file)
@@ -243,7 +243,7 @@ static int __init jive_mtdset(char *options)
        if (options == NULL || options[0] == '\0')
                return 0;
 
-       if (strict_strtoul(options, 10, &set)) {
+       if (kstrtoul(options, 10, &set)) {
                printk(KERN_ERR "failed to parse mtdset=%s\n", options);
                return 0;
        }