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