summaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/devboards
diff options
context:
space:
mode:
authorDaniel Walter <dwalter@google.com>2014-06-03 16:21:05 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-06-04 22:50:40 +0200
commit8ca635bfc0e4488d167cea322c7e098689f37080 (patch)
tree046f386a892f0bff2b87cde39aa987780408e099 /arch/mips/alchemy/devboards
parentb4f16c938eed87aac733972e735c5bea700948aa (diff)
downloadlinux-stable-8ca635bfc0e4488d167cea322c7e098689f37080.tar.gz
linux-stable-8ca635bfc0e4488d167cea322c7e098689f37080.tar.bz2
linux-stable-8ca635bfc0e4488d167cea322c7e098689f37080.zip
MIPS: Replace obsolete strict_strto call with kstrto
Signed-off-by: Daniel Walter <dwalter@google.com> Cc: linux-kernel@vger.kernel.org Cc: richard@nod.at Cc: akpm@linux-foundation.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/devboards')
-rw-r--r--arch/mips/alchemy/devboards/pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/alchemy/devboards/pm.c b/arch/mips/alchemy/devboards/pm.c
index b86bff31d1d3..61e90fe9eab1 100644
--- a/arch/mips/alchemy/devboards/pm.c
+++ b/arch/mips/alchemy/devboards/pm.c
@@ -158,7 +158,7 @@ static ssize_t db1x_pmattr_store(struct kobject *kobj,
int tmp;
if (ATTRCMP(timer_timeout)) {
- tmp = strict_strtoul(instr, 0, &l);
+ tmp = kstrtoul(instr, 0, &l);
if (tmp)
return tmp;
@@ -181,7 +181,7 @@ static ssize_t db1x_pmattr_store(struct kobject *kobj,
}
} else if (ATTRCMP(wakemsk)) {
- tmp = strict_strtoul(instr, 0, &l);
+ tmp = kstrtoul(instr, 0, &l);
if (tmp)
return tmp;