Re: [PATCH v1 4/4] iio: adc: pac1934: Unshadow error codes in ->store()

From: Maxwell Doose

Date: Thu Aug 13 2026 - 13:55:34 EST


On Thu Aug 13, 2026 at 2:16 AM CDT
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> kstrtox() may return different error codes.
>
> Unshadow them in the ->store() callback to give better error report.
>
> While at it, add missing kstrtox.h inclusion.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> drivers/iio/adc/pac1934.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>

Reviewed-by: Maxwell Doose <maxwell@xxxxxxxxxxx>

thanks,
max