summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-11-21 16:27:00 +0000
committerJonathan Cameron <jic23@kernel.org>2012-11-30 12:57:07 +0000
commitfe2e0d5228aa170fa725c2cb02cf423838c30bb3 (patch)
tree63c4f68d521bd8c5689d91788881567446e3daaf /drivers
parent3e4334f2d6f3025e396a710f758fd1663c104976 (diff)
downloadlinux-3.10-fe2e0d5228aa170fa725c2cb02cf423838c30bb3.tar.gz
linux-3.10-fe2e0d5228aa170fa725c2cb02cf423838c30bb3.tar.bz2
linux-3.10-fe2e0d5228aa170fa725c2cb02cf423838c30bb3.zip
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.c2
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;