Skip to content

Commit c4fc3b5

Browse files
committed
iio: jesd204: axi_adxcvr: move strtobool() to kstrtobool()
strtobool() will be removed in 6.12. Hence let's do now the transition. Signed-off-by: Nuno Sá <nuno.sa@analog.com>
1 parent 8eb53bd commit c4fc3b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/iio/jesd204/axi_adxcvr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ static ssize_t adxcvr_prbs_counter_reset_store(struct device *dev,
299299
bool reset;
300300
int ret;
301301

302-
ret = strtobool(buf, &reset);
302+
ret = kstrtobool(buf, &reset);
303303
if (ret)
304304
return ret;
305305

@@ -352,7 +352,7 @@ static ssize_t adxcvr_prbs_error_inject_store(struct device *dev,
352352
bool inject;
353353
int ret;
354354

355-
ret = strtobool(buf, &inject);
355+
ret = kstrtobool(buf, &inject);
356356
if (ret)
357357
return ret;
358358

0 commit comments

Comments
 (0)