summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ltc2632.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ltc2632.c')
-rw-r--r--drivers/iio/dac/ltc2632.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ltc2632.c b/drivers/iio/dac/ltc2632.c
index aed46c80757e..7f1a9900a359 100644
--- a/drivers/iio/dac/ltc2632.c
+++ b/drivers/iio/dac/ltc2632.c
@@ -149,7 +149,7 @@ static ssize_t ltc2632_write_dac_powerdown(struct iio_dev *indio_dev,
int ret;
struct ltc2632_state *st = iio_priv(indio_dev);
- ret = strtobool(buf, &pwr_down);
+ ret = kstrtobool(buf, &pwr_down);
if (ret)
return ret;