summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ti-dac082s085.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ti-dac082s085.c')
-rw-r--r--drivers/iio/dac/ti-dac082s085.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ti-dac082s085.c b/drivers/iio/dac/ti-dac082s085.c
index 4e1156e6deb2..106ce3546419 100644
--- a/drivers/iio/dac/ti-dac082s085.c
+++ b/drivers/iio/dac/ti-dac082s085.c
@@ -133,7 +133,7 @@ static ssize_t ti_dac_write_powerdown(struct iio_dev *indio_dev,
bool powerdown;
int ret;
- ret = strtobool(buf, &powerdown);
+ ret = kstrtobool(buf, &powerdown);
if (ret)
return ret;