diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-06-01 08:10:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-06-04 18:29:49 +0100 |
commit | ddeb64f36d2a1333927e273856d545767ee70a1c (patch) | |
tree | d7548bca68ce1d9d2c3252662cacab0725928dbc /drivers/iio/adc | |
parent | b164935b38d64557a32892e7aa45e213e9d11ea8 (diff) | |
download | op-kernel-dev-ddeb64f36d2a1333927e273856d545767ee70a1c.zip op-kernel-dev-ddeb64f36d2a1333927e273856d545767ee70a1c.tar.gz |
iio: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r-- | drivers/iio/adc/max1363.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c index 9e6da72..f148d00 100644 --- a/drivers/iio/adc/max1363.c +++ b/drivers/iio/adc/max1363.c @@ -660,7 +660,7 @@ static ssize_t max1363_monitor_store_freq(struct device *dev, unsigned long val; bool found = false; - ret = strict_strtoul(buf, 10, &val); + ret = kstrtoul(buf, 10, &val); if (ret) return -EINVAL; for (i = 0; i < ARRAY_SIZE(max1363_monitor_speeds); i++) |