projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4334f
)
staging:iio:ad7793: Use kstrtol instead of strict_strtol
author
Lars-Peter Clausen
<lars@metafoo.de>
Wed, 21 Nov 2012 16:27:00 +0000
(16:27 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 30 Nov 2012 12:57:07 +0000
(12:57 +0000)
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>
drivers/staging/iio/adc/ad7793.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/adc/ad7793.c
b/drivers/staging/iio/adc/ad7793.c
index 55d302dc504c0123115a518ec5fa393cdc4e2794..843550ddc2eac168217aeae69737731ddb9719fe 100644
(file)
--- 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 =
k
strtol(buf, 10, &lval);
if (ret)
return ret;