diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-11-21 16:27:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-30 12:57:07 +0000 |
commit | fe2e0d5228aa170fa725c2cb02cf423838c30bb3 (patch) | |
tree | 63c4f68d521bd8c5689d91788881567446e3daaf /drivers | |
parent | 3e4334f2d6f3025e396a710f758fd1663c104976 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/adc/ad7793.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/ad7793.c b/drivers/staging/iio/adc/ad7793.c index 55d302dc504..843550ddc2e 100644 --- a/drivers/staging/iio/adc/ad7793.c +++ b/drivers/staging/iio/adc/ad7793.c @@ -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; |