From: Lars-Peter Clausen Date: Wed, 21 Nov 2012 16:27:00 +0000 (+0000) Subject: staging:iio:ad7793: Use kstrtol instead of strict_strtol X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fe2e0d5228aa170fa725c2cb02cf423838c30bb3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging:iio:ad7793: Use kstrtol instead of strict_strtol strict_strtol is deprecated in favor of kstrtol. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/adc/ad7793.c b/drivers/staging/iio/adc/ad7793.c index 55d302dc504c..843550ddc2ea 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;