提交 fe2e0d52 编写于 作者: L Lars-Peter Clausen 提交者: Jonathan Cameron

staging:iio:ad7793: Use kstrtol instead of strict_strtol

strict_strtol is deprecated in favor of kstrtol.
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 3e4334f2
......@@ -204,7 +204,7 @@ static ssize_t ad7793_write_frequency(struct device *dev,
}
mutex_unlock(&indio_dev->mlock);
ret = strict_strtol(buf, 10, &lval);
ret = kstrtol(buf, 10, &lval);
if (ret)
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册