From: Daniel Walter Date: Fri, 8 Aug 2014 21:23:57 +0000 (-0700) Subject: arch/arm/mach-s3c24xx/mach-jive.c: replace strict_strto* with kstrto* X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c2432cbe87d693879c11b0e39a32d2528233c64;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git arch/arm/mach-s3c24xx/mach-jive.c: replace strict_strto* with kstrto* Replace obsolete strict_strto call with kstrto Signed-off-by: Daniel Walter Cc: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/arm/mach-s3c24xx/mach-jive.c b/arch/arm/mach-s3c24xx/mach-jive.c index e81ea82c55f9..bac9bb5fa265 100644 --- a/arch/arm/mach-s3c24xx/mach-jive.c +++ b/arch/arm/mach-s3c24xx/mach-jive.c @@ -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; }