staging:iio:ad7793: Use kstrtol instead of strict_strtol

strict_strtol is deprecated in favor of kstrtol.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Lars-Peter Clausen 2012-11-21 16:27:00 +00:00 committed by Jonathan Cameron
parent 3e4334f2d6
commit fe2e0d5228

View File

@ -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;