mirror of https://gitee.com/openkylin/linux.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 <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>
This commit is contained in:
parent
4fce45b44b
commit
5c2432cbe8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue