All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 05/12] [arch/arm/mach-w90x900] Remove obsolete strict_strto calls
@ 2014-05-26 22:08 Daniel Walter
  0 siblings, 0 replies; only message in thread
From: Daniel Walter @ 2014-05-26 22:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: mcuos.com, richard

From: Daniel Walter <dwalter@google.com>
Subject: [PATCH 05/12] [arch/arm/mach-w90x900] replace obsolete strict_strto

Replace obsolete strict_strto with kstrto calls

Signed-off-by: Daniel Walter <dwalter@google.com>
---
 arch/arm/mach-w90x900/cpu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
index b1eabaa..213230ee 100644
--- a/arch/arm/mach-w90x900/cpu.c
+++ b/arch/arm/mach-w90x900/cpu.c
@@ -178,7 +178,8 @@ static int __init nuc900_set_cpufreq(char *str)
 	if (!*str)
 		return 0;
 
-	strict_strtoul(str, 0, &cpufreq);
+	if (kstrtoul(str, 0, &cpufreq))
+		return 0;
 
 	nuc900_clock_source(NULL, "ext");
 
-- 
1.9.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-26 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 22:08 [PATCH 05/12] [arch/arm/mach-w90x900] Remove obsolete strict_strto calls Daniel Walter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.