2014-06-03 15:19:17

by Daniel Walter

[permalink] [raw]
Subject: [PATCH v2 03/11] [arch/arm/mach-s3c24xx] replace strict_strto* with kstrto*

From: Daniel Walter <[email protected]>
Subject: [PATCH v2 03/11] [arch/arm/mach-s3c24xx] replace strict_strto* with kstrto*

Replace obsolete strict_strto call with kstrto

Signed-off-by: Daniel Walter <[email protected]>
---
arch/arm/mach-s3c24xx/mach-jive.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-s3c24xx/mach-jive.c b/arch/arm/mach-s3c24xx/mach-jive.c
index 5faa723..a4024c2 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;
}
--
1.9.3