arch/powerpc: replace obsolete strict_strto* calls

Replace strict_strto calls with more appropriate kstrto calls

Signed-off-by: Daniel Walter <dwalter@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Daniel Walter
2014-08-08 14:24:01 -07:00
committed by Linus Torvalds
parent 37028623d7
commit 1618bd53e6
4 changed files with 7 additions and 7 deletions

View File

@@ -977,7 +977,7 @@ static ssize_t viodev_cmo_desired_set(struct device *dev,
size_t new_desired;
int ret;
ret = strict_strtoul(buf, 10, &new_desired);
ret = kstrtoul(buf, 10, &new_desired);
if (ret)
return ret;